cleaning up revision control tools
[feisty_meow.git] / scripts / security / fix_ssh_perms.sh
diff --git a/scripts/security/fix_ssh_perms.sh b/scripts/security/fix_ssh_perms.sh
new file mode 100644 (file)
index 0000000..eb294fc
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# resets the permissions on the .ssh directory to be safe.
+# otherwise ssh may ignore keys and such from there.
+
+chmod 700 $HOME/.ssh 
+chmod 600 $HOME/.ssh/*
+
+