Last Updated: February 25, 2016
· sheerun
Photo on 08.01.2013 at 04.15

Retach to lost shell session

To reconnect to ssh session you've lost access to, use reptyr:

sudo add-apt-repository ppa:broder/reptyr
sudo apt-get update
sudo apt-get install reptyr
# search for process ID of lost session, e.g. 42
reptyr 42