Skip to content
Snippets Groups Projects
Commit 1f290a8a authored by micah's avatar micah :speech_balloon:
Browse files

removed extra -o

parent 6af4bda0
No related branches found
No related tags found
No related merge requests found
......@@ -43,8 +43,8 @@ if [ "$desttype" == "remote" ]; then
# see if we can login
if [ "$testconnect" == "yes" ]; then
hostalive=0
debug "ssh -o -o PreferredAuthentications=publickey $desthost -l $destuser 'echo -n 1'"
ret=`ssh -o -o PreferredAuthentications=publickey $desthost -l $destuser 'echo -n host is alive'`
debug "ssh -o PreferredAuthentications=publickey $desthost -l $destuser 'echo -n 1'"
ret=`ssh -o PreferredAuthentications=publickey $desthost -l $destuser 'echo -n host is alive'`
if echo $ret | grep "host is alive"; then
debug "Connected to $desthost as $destuser successfully"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment