I run a Fedo开发者_运维知识库ra instance in Amazon EC2. I can access and work on it perfectly by Putty. I also set Seconds between keepalives to 1 for not losing the connection due to inactivity (I mean in Putty).
Nevertheless, if a network/electric failure happens on my local computer, it shuts down the Putty connection, so the session logs off and the executions in the instances stop.
Can anybody help me in keeping a session alive and being able to connect/disconnect to it whenever I want?
Use the screen command.
精彩评论