On 5 February 2011 19:10, Asif Iqbal <[email protected]> wrote:
> # cat ~/.ssh/config
...
> host remotehost
>  hostname remotehost.example.net
>  ProxyCommand ssh jumphost -t ssh %h

ProxyCommand should in general connect its input/output stream to sshd
demon listening on some socket.  In your case I would suggest to use
the nc command from jumphost that binds stdin/stdout to the ssh port
on the remote host, like in:

ProxyCommand ssh -T -a jumphost nc %h %p

where -T and -a is used to make sure that useless in this case tty on
jumphost is not allocated and no agent is forwarded.

Reply via email to