Merge pull request #16 from onovy/ssh_user_opt

Remote user is optional now in remote slaves.
pull/17/head
Orsiris de Jong 9 years ago
commit c5cf89f9d2

@ -1686,6 +1686,10 @@ function Init
# remove everything after '@'
_first_part=${uri%@*}
REMOTE_USER=${_first_part%;*}
if [ -n "$REMOTE_USER" ]
then
REMOTE_USER=$(id -un)
fi
#fingerprint=${_first_part#*fingerprint=}
if [ "$SSH_RSA_PRIVATE_KEY" == "" ]
then

Loading…
Cancel
Save