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
Written by Adam Stankiewicz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best #Shell Authors
Sponsored by #native_company# — Learn More
#native_title# #native_desc#