summaryrefslogtreecommitdiff
path: root/keys/add-ssh-keys.sh
diff options
context:
space:
mode:
Diffstat (limited to 'keys/add-ssh-keys.sh')
-rwxr-xr-xkeys/add-ssh-keys.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/keys/add-ssh-keys.sh b/keys/add-ssh-keys.sh
new file mode 100755
index 0000000..b559e42
--- /dev/null
+++ b/keys/add-ssh-keys.sh
@@ -0,0 +1,7 @@
1#!/bin/bash
2
3cd "$( dirname "${BASH_SOURCE[0]}" )" || exit 1
4
5mkdir -p ~/.ssh
6cat *.pub | sort -u > ~/.ssh/authorized_keys
7chmod 600 ~/.ssh/authorized_keys