I've been trying to setup some sort of configuration on my laptop , so I'd be able to connect to a server using SSH , directly , which i have indirect access to , i've found a great configuration here : http://superuser.com/a/303487/133737 so sofar i've made this configuration :
Host terzo , gw02, ipsec ProxyCommand ssh zenoss nc -w 10 %h %p
but i want to be able to ssh to forinstance
zenipsec , and it'd directly go through
I'm hoping to create something like this :
Host zen* ProxyCommand ssh zenoss nc -w 10 %h `echo %h | cut -f2-100 -dn`
i guess the last part
`echo %h | cut -f2-100 -dn` , doesn't work .
can anyone help ?