How to restore ssh (pts) session after client's disconnetion?
Is there any way to restore ssh (pts) session after client's disconnetion?
Here is an algorythm: 1. # ssh username@some.remotehost.com 2. open several interactive programms (mc, vim etc) 3. plug of network cable from client's computer :-) 4. open ssh connection from another computer and run: # who username pts/3 Apr 10 14:04 (192.168.1.2) <------ this session must be restored root pts/6 Apr 2 11:04 (192.168.1.3) root pts/7 Apr 5 15:39 (192.168.1.4) ..... 5. what to do? |
AFAIK, that is not possible after the fact.
Next time use GNU screen or tmux. |
Quote:
|
you could unfortunately just 'kill' the disconnected user to 'logoff'
|
All times are GMT -5. The time now is 02:22 PM. |