
SSH with Different Port Number
On Tue, 27 Jul 2004, Justin Guenther wrote:
In your $Conf{TarClientCmd} change '$sshPath -q -x -n -l root $host'
and add a -p option. So if your client is running SSH on port 2222, it
would be '$sshPath -q -x -n -l root -p 2222 $host'. This is of course
assuming that you already have setup your client's sshd_config to
listen on port 2222.
Tried that and here is what happens. dimins2 is the hostname. From the
log:
Contents of log file /BACK/backuppc/pc/dimins2/XferLOG.bad.z, modified
2004/7/27 14:35:51
Running: /usr/bin/ssh -q -n -l root -p 2222 dimins2 --newer=2004-07-22\
17:00:03 --exclude=./tmp --exclude=./var/tmp --exclude=./proc
--exclude=./dev/shm .
Xfer PIDs are now 26243,26242
bash: --: invalid option
Usage: bash [GNU long option] [option] ...
bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--rcfile
--rpm-requires
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation
only)
-abefhkmnptuvxBCHP or -o option
tarExtract: Unexpected end of tar archive (tot = 512, num = , posn = )
tarExtract: Done: 1 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp,
0 filesTotal, 0 sizeTotal
Tar exited with error 512 () status
--
Lance Moxley
The News-Gazette
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/