diff options
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 |