X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Frdiff;h=7120e7a47200115eaf8358c40988eeb495368f33;hb=refs%2Ftags%2Fbackupninja-0.7;hp=bec59ff69a8ff065be9a5ad1ab264650d7292ba3;hpb=91f3eb464817461dea895b180f7f79d67289ff21;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/rdiff b/handlers/rdiff index bec59ff..7120e7a 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -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