tnl7pg
Last Updated: February 25, 2016
·
656
· sheerun

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
Filed Under