removed extra -o
authormicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sun, 10 Jul 2005 10:05:49 +0000 (10:05 +0000)
committermicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sun, 10 Jul 2005 10:05:49 +0000 (10:05 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@143 758a04ac-41e6-0310-8a23-8373a73cc35d

handlers/rdiff

index bec59ff69a8ff065be9a5ad1ab264650d7292ba3..7120e7a47200115eaf8358c40988eeb495368f33 100644 (file)
@@ -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