Question : Problem: Restore  SSH session after network breakdown (not using SCREEN)

This question bothers me for so long - is there any way to restore ssh (pts) session after client's disconnetion?

Here is an algorythm:
1. # ssh [email protected]om
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. huh? what to do?

Answer : Problem: Restore  SSH session after network breakdown (not using SCREEN)

No, because the cryptographic state has been broken.

If what you suggest were possible, then that would open SSH up to session hijacking, where an attacker impersonated the client of another session.

Security is balancing functionality/convenience with good defenses. You're looking for a convenience from a tool designed to provide good defenses.
Random Solutions  
 
programming4us programming4us