2009/1/18 Lars NoodC)n <larsnoo...@openoffice.org>: > Lars NoodC)n wrote: >> +--E >> | >> A----B--+--C >> | >> +--D > > Ok. To record my own answer one solution, it was to use HostKeyAlias, > to specify which host key to record. > > Host sound > Protocol 2 > HostKeyAlias 192.168.124.25 > HostName 192.168.118.10 > ProxyCommand ssh %h /usr/bin/nc 192.168.124.25 22 > > I can see some drawbacks with that, but it works for now. > > -Lars > >
Host B HostName host-B User user-B IdentityFile key-B Host C HostName host-C User user-C IdentityFile key-C ProxyCommand ssh B nc %h %p Note: Investigate ssh-agent if you do not already use it. -- jm