diff options
author | Micah Anderson <micah@riseup.net> | 2005-07-10 10:05:49 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2005-07-10 10:05:49 +0000 |
commit | 1f290a8a23f09a6f3563b03a98b5b3ce70d664d8 (patch) | |
tree | 62fd988e445a9212f5b22dca4ead4360efdbd2c3 | |
parent | 6af4bda04f032ca98be639eb1c8707535259622e (diff) | |
download | backupninja-1f290a8a23f09a6f3563b03a98b5b3ce70d664d8.tar.gz backupninja-1f290a8a23f09a6f3563b03a98b5b3ce70d664d8.tar.bz2 |
removed extra -o
-rw-r--r-- | handlers/rdiff | 4 |
1 files changed, 2 insertions, 2 deletions
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 |