## Add the following line to ~/.ssh/config in your $HOME directory. Create one if there is none. Host target.server HostName IP.of.target.server ProxyCommand ssh gateway nc -w 1 %h 22 ServerAliveInterval 30 Compression yes #### new comsics ################################## Host newcomsics HostName comsics.usm.my ProxyCommand ssh gateway nc -w 1 %h 22 ServerAliveInterval 30 Compression yes Host comsics HostName comsics.usm.my ProxyCommand ssh gateway nc -w 1 %h 22 ServerAliveInterval 30 Compression yes Host comsics.usm.my HostName comsics.usm.my ProxyCommand ssh gateway nc -w 1 %h 22 ServerAliveInterval 30 Compression yes Host 10.205.19.208 HostName comsics.usm.my ProxyCommand ssh gateway nc -w 1 %h 22 ServerAliveInterval 30 Compression yes #### end of new comsics ################################## #### old comsics ################################## Host oldcomsics HostName 10.205.19.207 ProxyCommand ssh gateway nc -w 1 %h 22 ServerAliveInterval 30 Compression yes Host 10.205.19.207 HostName 10.205.19.207 ProxyCommand ssh gateway nc -w 1 %h 22 ServerAliveInterval 30 Compression yes #### end of old comsics ################################## #### set jaws as gateway ########## Host gateway HostName 10.205.18.203 User common Compression yes