Re: [SSHd] Increasing wait time?



Peter Boosten <peter@xxxxxxxxxxx> writes:

No, I was more thinking of:

ssh -L 4444:your.own.host:22 user@xxxxxxxxxxxxxxxxx

and then open a new shell:

scp -P 4444 the-file-you-want-to-copy user@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@xxxxxxxxxxxxxxxxx nc your.own.host 22

The you can just do "ssh your.own.host-tunneled" and go through
your.friends.host transparently.

--
Christian Laursen
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"