summaryrefslogtreecommitdiff
path: root/ssh-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-hook.sh')
-rwxr-xr-xssh-hook.sh5
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