diff --git a/copy-ssh-keys-to-server.sh b/copy-ssh-keys-to-server.sh new file mode 100644 index 0000000..5af4e95 --- /dev/null +++ b/copy-ssh-keys-to-server.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +cat ~/.ssh/.pub | ssh 'mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && echo "Key copied"'