Resume from last SSH disconnect – Screen

SSH remote connect a running server sometimes half way disconnect. So, how to resume from the last session?

A tip here, install Screen:

$sudo apt-get install screen
$screen

so when disconnected, here to retrieve back your screen

$screen -dr
Advertisements