diff options
Diffstat (limited to 'services/bin/update-services-pubkeys')
-rwxr-xr-x | services/bin/update-services-pubkeys | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/bin/update-services-pubkeys b/services/bin/update-services-pubkeys index 6a658607..9936c402 100755 --- a/services/bin/update-services-pubkeys +++ b/services/bin/update-services-pubkeys @@ -1,5 +1,3 @@ #!/bin/sh KREBS_ROOT="${KREBS_ROOT:-/krebs}" -ssh $1 <<EOF -sh -eufc "cd $KREBS_ROOT;git pull origin master;make -C $KREBS_ROOT/services ssh_authorized_keys" -EOF +ssh $1 -t "cd ${KREBS_ROOT};git pull origin master;sudo -u services make -C $KREBS_ROOT/services ssh_authorized_keys" |