Who's online

SailAutoSSH

SailAutoSSH is a small tool that allows to create SSH tunnels on demand. The user can configure several services that listen at the localhost for new connections made by some app and forwards them through an SSH tunnel to a remote host.

I tried that and the service was running. On reopening the app all configured tunnels became visible. However I could not activate / establish any of them. Is there a logfile or some possibility to debug that?

First you could try to restart the daemon (it could be that the one of version 1.0.0 is still running)

$ systemctl --user stop sailautossh

and then restart the gui (this should restart the daemon). However, I do not thing that this makes a difference.

There is some debug output, but I'm not sure how helpful it is (to be honest, the error reporting is not that good at the moment). The easiest way is probably to stop the daemon temporarily (as above) and then start the gui in stand-alone mode without the daemon. In the terminal run

$ sailautossh -s

Then establish the tunnel with whatever app you want and look at the console output.

You could also verify first that the ssh tunnel can be established manually. Sailautossh just executes the following command:

$ ssh -W targethost:targetport -l tunneluser tunnelhost

Execute that command in the terminal and see what happens (actually, nothing should happen, in particular you should not get any error). If sailautossh establishes a connection successfully, the command

$ ps ax | grep ssh

should show exactly the above ssh command running.

Please check if something of this helps you. If not, please let me know, then we have to investigate further ;) (and sorry for the inconvenience)