Search This Blog

Thursday, November 20, 2008

ssh session alive

It is very frequently happening that a terminal with ssh session dies after a certain period of time by any reason.  It looks like a server setting should be modified, which cannot be done by an end-user.  But, there is one thing can be done by each user.

1. Go to your .ssh directory:
      cd ~/.ssh

2. Check whether you have "config" file.  Anyway, open/create it: 
      vi config

3. Put the following line in the file:
      KeepAlive yes



No comments:

Labels

Blog Archive