other-ssh-proxycommand

ssh ProxyCommand with OpenSSH 5.4 that come with netcat mode

moi@machinexterne:~/$ cat ~/.ssh/config
HOST *.sismo

# this 2 values are only use for the second part of the ssh
User loginsismo 
Port 22

ProxyCommand ssh loginsismo@127.0.0.1 -p 11237 -W `basename %h .sismo`:%p
moi@machinexterne:~/$

Usage

moi@machinexterne:~/$ ssh <sismocomputer>.sismo
loginsismo@sismocomputer %
  • exemple :

Then to connect for exemple to datte host, you just have to do this (if you have ssh key and agent configured).

moi@machinexterne:~/$ ssh datte.sismo
loginsismo@datte %