diff options
author | Karel Kočí <cynerd@email.cz> | 2018-08-26 19:29:22 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-08-26 19:31:07 +0200 |
commit | 408b7d005277e205f431e1b4eb256bbe836cba54 (patch) | |
tree | b430e751ccca3d6ea12f18f6b76f412da92ac516 /ssh-hook.sh | |
parent | 0d1aacddfe40a053a5e9774f561b9f64efe3592a (diff) | |
download | laminar-cnf-408b7d005277e205f431e1b4eb256bbe836cba54.tar.gz laminar-cnf-408b7d005277e205f431e1b4eb256bbe836cba54.tar.bz2 laminar-cnf-408b7d005277e205f431e1b4eb256bbe836cba54.zip |
Change how ssh access is configured
Diffstat (limited to 'ssh-hook.sh')
-rwxr-xr-x | ssh-hook.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh-hook.sh b/ssh-hook.sh index 67130a5..4aac748 100755 --- a/ssh-hook.sh +++ b/ssh-hook.sh @@ -7,8 +7,9 @@ if [ -z "$SSH_ORIGINAL_COMMAND" ]; then git fetch --prune --force git reset --hard origin/master - echo "Deploy authorized keys" - cp ssh_authorized_keys ~/.ssh/authorized_keys + echo "Deploy ssh configuration" + cp ssh/config ~/.ssh/config + cp ssh/authorized_keys ~/.ssh/authorized_keys else |