charles linquist
New Member
I'm using autoSSH to connect to an Amazon ec2 server. I need to automatically reconnect to the server if the SSH connection is lost for a few seconds.
I need the system to know that it has lost the SSH connection and then re-establish the connection to the server.
In some cases, the Ethernet connection will remain established. Only the SSH session will get "broken". Is thee a way that I can get the system to reconnect after a short fault?
I'm using a Raspberry pi and I can get the connection reestablished by rebooting the Raspberry, but otherwise it won't reconnect.
I need the system to know that it has lost the SSH connection and then re-establish the connection to the server.
In some cases, the Ethernet connection will remain established. Only the SSH session will get "broken". Is thee a way that I can get the system to reconnect after a short fault?
I'm using a Raspberry pi and I can get the connection reestablished by rebooting the Raspberry, but otherwise it won't reconnect.