diff options
author | makefu <github@syntax-fehler.de> | 2013-08-30 01:47:41 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-08-30 01:47:41 +0200 |
commit | 4987f3d6e914e36d75c2442910d4414665858619 (patch) | |
tree | d54326b82c20739965c9327a34b3919d68753eb4 | |
parent | 44656c23b79c8f002f268fdcfa534926a5962a4e (diff) |
add deploy-ssh-keys
-rw-r--r-- | infest/deploy-ssh-keys | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/infest/deploy-ssh-keys b/infest/deploy-ssh-keys index cbdce6b5..1d0587d5 100644 --- a/infest/deploy-ssh-keys +++ b/infest/deploy-ssh-keys @@ -3,8 +3,7 @@ cd $(dirname $0) U="${1:-$USER}" H="$(grep "^$U" /etc/passwd | cut -d : -f 6)" echo "deploying for user $U to $H/.ssh" -read mkdir -p $H/.ssh chown $U $H chown $U $H/.ssh -cp -r skel/home/.ssh/authorized_keys $H/.ssh +cp -vr skel/home/.ssh/authorized_keys $H/.ssh |