Could this also be added to the FAQ ? Please!
Thanks,
Manuel.
Carson Gaspar wrote:
--On Thursday, October 20, 2005 12:53 PM -0700 Wayne Davison
<[EMAIL PROTECTED]> wrote:
On Wed, Oct 19, 2005 at 10:29:21PM -0400, Matt McCutchen wrote:
$ ssh -L 2222:target:22 -N -f [EMAIL PROTECTED]
Password: middlepass
Port-forwarding 22 is a great idea as long as ssh is configured not to
complain about the host conflict -- nicely done. I've added this to the
FAQ in the "rsync through a firewall" section.
Host keys aren't a problem if you use HostKeyAlias - see ssh_config(4).
e.g.:
ssh -L 2022:remote-host.example.com:22 -N -d middle-host.example.com
Host remote-tunnel.example.com
User remuser
HostName 127.0.0.1
Port 2022
HostKeyAlias remote-host.example.com
rsync -aH /foo/ remote-tunnel.example.com:/bar/
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html