Hi,
I have a problem with setting up autossh over ptunnel.
Ptunnel working on xxx.xxx.xxx.xxx ptunnel host, local port 8000, dst. host yyy.yyy.yyy.yyy and dst. port 22. With ssh bar@localhost -p 8000 log's in to the yyy.yyy.yyy.yyy server. It is good.
When I use autossh with bar@yyy.yyy.yyy.yyy, remote port 2222 and local port 22 I can connect back to lanturtle from yyy.yyy.yyy.yyy. So this config good too.
But how to configure autossh, to go trough ptunnel? The documentation of ptunnel seems promising, but I have no luck to configure it:
With this an autoSSH session to the SSH server running on example.com port 22 may be established through the Ping Tunnel via localhost port 8000.
I setted up autossh with bar@localhost remote port 2222 and local port 8000, but it not working.
How to setup ptunnel + autossh?
Thanks in advance
bar