I am installed Ubuntu on Virtual Box, and use xshell (a remote terminal application) to ssh to ubuntu. when I hibernate computer during night, after powering it on, the session is expired and I should to ssh to ubuntu again. Is there is way to configure ssh to nut expire during hibernation or after hours of ideal connection? I use Fedora to, if configs have differences please mention it. I use Windows 7.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
Try tmux. On the server side:
After logging in, start tmux.
If the connection breaks, log in again via ssh and reconnect the tmux session. To discover the session number:
The output might be something like this: 0: 1 windows (created Wed Jan 9 12:27:40 2013) Connect to the tmux numbered session like this:
Then you are right back where you left it. |
|||||||
|
|
No. Perhaps give But, for short, no. TCP connections are closed on timeout, and |
|||||||
|