views:

120

answers:

1

Hej,

I runned a Fedora 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 inactivy (I mean in Putty).

Nevertheless, if a network/electric failure happens in 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 for keeping a session alive and being able to connect/disconnect to it whenever I want?

Thanks in advance ;)

+1  A: 

Use the screen command.

gareth_bowles
Thank you, that is exactly what I was looking for ;)
elaragon
Great ! A vote up or "right answer" flag would be appreciated ;-)
gareth_bowles