[SSHd] Increasing wait time?
Christian Laursen
xi at borderworlds.dk
Fri May 9 18:52:32 UTC 2008
Peter Boosten <peter at boosten.org> writes:
> No, I was more thinking of:
>
> ssh -L 4444:your.own.host:22 user at your.friends.host
>
> and then open a new shell:
>
> scp -P 4444 the-file-you-want-to-copy user at localhost:
>
> This works easiest with agent forwarding, but I guess any
> authentication will do.
It is also worth taking a look at the ProxyCommand option.
For the case above something like this should be put in ~/.ssh/config:
Host your.own.host-tunneled
HostKeyAlias your.own.host
ProxyCommand ssh user at your.friends.host nc your.own.host 22
The you can just do "ssh your.own.host-tunneled" and go through
your.friends.host transparently.
--
Christian Laursen
More information about the freebsd-questions
mailing list