projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
scripts/security/fix_ssh_perms.sh
@@ -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/*
+
+