A program to start, monitor and automatically restart SSH sessions.

learn more… | top users | synonyms

0
votes
0answers
9 views

Autossh fork after entering password

I have an SSH tunnel that I run with autossh to keep it going reliably. The only issue I have is that I have an encrypted private key which I use to connect. If I want to fork my process to the ...
0
votes
0answers
28 views

How to check ssh tunnel status and create alert

Can anyone please help me to write a shell script checking ssh tunnels status and create alert in case a tunnel dies? Also some log must be created in var/syslog once a tunnel is created or dies. ...
1
vote
1answer
59 views

autossh forwarded ports left open on connection failure

I am trying to establish a reverse SSH tunnel from my home network. I've got it so that autossh connects successfully once (and only once) per reboot. I'm forwarding remote ports to my local machine ...
0
votes
0answers
95 views

Access device behind NAT via public IP

For past several days I am trying to set up configuration that would allow me to access an IP camera that is connected to the Ubuntu device behind NAT router. My idea is to create reverse SSH tunnel ...
3
votes
0answers
629 views

How to prevent autossh from becoming stuck once in a while?

I am using autossh to build a reverse ssh tunnel but from time to time the tunnel stops working and I need to kill autossh and start it again. /etc/cron.d/autossh @reboot autossh -f -nNT -R ...
0
votes
1answer
2k views

AutoSSH for a robust tunnel

I'm trying to start an ssh tunnel from A to B and have it run despite things like: period network/wifi drops on A and remote server reboot on B. My ssh tunnel starts using upstart script on A with ...
7
votes
2answers
8k views

connecting a SSH tunnel on reboot?

How can i reestablish a Tunnel if my localhost goes down? i have 2 machines, Remotehost and localhost, on my localhost im running autossh to keep the tunnel alive in case of network problems. ...