create segfault server configuration (details: https://www.thc.org/segfault/)
$ ssh root@segfault.net # The password is 'segfault'
~/.ssh/config
...
Host currentparent
User root
HostName adm.segfault.net
IdentityFile ~/.ssh/id_sf-adm-segfault-net
SetEnv SECRET=
...
// gs forward to port 22 of local address 192.168.192.168
$ gs-netcat -l -d 192.168.192.168 -p 22 -s 'SECRETSTR'
Thc server
$ ssh currentparent
// create reverse port
$ curl sf/port
// get ip and port
$ cat /config/self/reverse_*
$ tmux new-session -d 'gs-netcat -s "SECRETSTR" -p PORT -d IP'
and ssh to thc reverse port thats will forward us to server 22 port
$ ssh dev@IP -p PORT
one line ssh
$ ssh -o 'StrictHostKeyChecking no' -C -A -t -o ProxyCommand='ssh -C -A -T currentparent gs-netcat -s "SECRETSTR"' dev@localhost