On Tue, 25 Jan 2005, Ed Skinner wrote:
> Synchronizing from office to home took a guess about how rsync would
> actually implement the "-e ssh" option and, because this "feature" isn't
> precisely documented, YMMV, but it seems to work on the four distributions I
> have at my disposal. Here is the command:
> rsync -v -r -e "ssh -p port" Common/ user@system:Common/
> Substitute the correct values for port, user and system.
> The "trick" is putting the ssh command option, the "-p port", inside the
> quotes with the "ssh" command itself to get ssh to use the specified port
> number. (The man page for "rsync" *also* talks about port numbers, but those
> are only relevent when using rsyncd *without* ssh.)
You can also use ~/.ssh/config to define port numbers on a per-host basis.
Host system
Port 1022
Jeremy C. Reed
open source, Unix, *BSD, Linux training
http://www.pugetsoundtechnology.com/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss