Skip to main content
Post Closed as "Not suitable for this site" by CommunityBot, womble

iI am new to this community , iI am working on my iot project in which my microcontroller is working as a server,taking taking data and executing request,my. My client is end device  (mobile,tablet), i and I am using ssh, theconnecting through SSH.

The problem i am getting isappears if suddenly my internet gets off , then- the ssh session breaks off  , and again i needI have to reconfigure byit using thisthis command ssh -o TCPKeepAlive=yes -R 80:192.145.47.33:80 [email protected]

ssh -o TCPKeepAlive=yes -R 80:192.145.47.33:80 [email protected] 

andAnd in a similar manner if the power of the server  (microcontroller) gets trip off, then iI get the similar situation,. iI want that session should get automatically configured without manual intervention.

i am new to this community , i am working on my iot project in which my microcontroller is working as a server,taking data and executing request,my client is end device(mobile,tablet), i am using ssh, the problem i am getting is if suddenly my internet gets off , then the ssh session breaks off  , and again i need to reconfigure by using this command ssh -o TCPKeepAlive=yes -R 80:192.145.47.33:80 [email protected]

and in similar manner if the power of the server(microcontroller) gets trip off, then i get the similar situation, i want that session should get automatically configured without manual intervention.

I am new to this community , I am working on my iot project in which my microcontroller is working as a server, taking data and executing request. My client is end device  (mobile,tablet) and I am connecting through SSH.

The problem appears if suddenly my internet gets off - the ssh session breaks off, and again I have to reconfigure it using this command:

ssh -o TCPKeepAlive=yes -R 80:192.145.47.33:80 [email protected] 

And in a similar manner if the power of the server  (microcontroller) gets trip off, then I get the similar situation. I want that session get automatically configured without manual intervention.

Source Link

Reconnect automatically to a disconnected ssh session

i am new to this community , i am working on my iot project in which my microcontroller is working as a server,taking data and executing request,my client is end device(mobile,tablet), i am using ssh, the problem i am getting is if suddenly my internet gets off , then the ssh session breaks off , and again i need to reconfigure by using this command ssh -o TCPKeepAlive=yes -R 80:192.145.47.33:80 [email protected]

and in similar manner if the power of the server(microcontroller) gets trip off, then i get the similar situation, i want that session should get automatically configured without manual intervention.