mercredi 25 mars 2015

Can I re-login a disconnected session?


For some network reasons, my previous SSH sessions to server have disconnected. When I create a new session, I find the previous session still exist:



[root@localhost ~]# who
root pts/0 2015-03-25 21:35 (10.1.1.1)
root pts/1 2015-03-25 21:36 (10.1.1.1)
root pts/2 2015-03-26 01:44 (10.1.1.1)


The pts/0 and pts/1 are previous session terminals. And there are still some progresses running on them, such as vim:



root 2953 2906 0 Mar25 pts/0 00:00:01 vim getpasswd.sh


I want to re-login pts/0 to continue running vim progress, Is it possible? How can I do it?



Aucun commentaire:

Enregistrer un commentaire