diff --git a/src/steps-postinstall/100-ssh-cluster-config.sh b/src/steps-postinstall/100-ssh-cluster-config.sh index c21fcd2..8144f83 100755 --- a/src/steps-postinstall/100-ssh-cluster-config.sh +++ b/src/steps-postinstall/100-ssh-cluster-config.sh @@ -3,6 +3,7 @@ task_begin "Configuring ssh"; while read -r username; do + username="$(basename "${username}")"; # find outputs the full path sudo -u "${username}" bash -c 'ssh -T git@git.starbeamrainbowlabs.com || ssh-keyscan -H git.starbeamrainbowlabs.com >>$HOME/.ssh/known_hosts'; done < <(find /home -mindepth 1 -maxdepth 1 -type d);