Re: [SSHd] Increasing wait time?

Peter Boosten <peter@xxxxxxxxxxx> writes:

No, I was more thinking of:

ssh -L 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:

ProxyCommand ssh user@xxxxxxxxxxxxxxxxx nc 22

The you can just do "ssh" and go through transparently.

Christian Laursen
freebsd-questions@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"