Hallo
On Saturday 02 June 2012 14.49:09 Stanislav Sinyagin wrote:
I. SSH auth. forwarding
I use ssh's ProxyCommand option instead, it will use netcat on the jumphost to act as a proxy for an ssh connection. With this method your client's known_hosts file will be used and your ssh-key stays on your client, so you don't have to trust the jumphost.
Just add something like this to your .ssh/config:
Host somehost.example.com anotherhost.example.net *.example.org ProxyCommand ssh jumphost.example.com exec nc -q0 %h %p
Cheers, Adrian