Keeping SSH connections open
From: Augustus SFX van Dusen (ASFXvD_at_story.net)
Date: 06/15/05
- Next message: Andrew Schulman: "Re: Keeping SSH connections open"
- Previous message: Phil Endecott: "Re: OpenSSH and $HOME"
- Next in thread: Andrew Schulman: "Re: Keeping SSH connections open"
- Reply: Andrew Schulman: "Re: Keeping SSH connections open"
- Reply: Darren Dunham: "Re: Keeping SSH connections open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 15 Jun 2005 16:43:20 GMT
I am ssh'ing into a Linux box A from another Linux box B. B is a
box that has to be suspended to disk every so often, most of the time
while an ssh session to A is in place. What I would like to be able to do
is to resume such session after B is brought back up from its suspended
state.
More specifically: Just before suspending B, in my desktop I have an
xterm running an ssh session to A. What I would like is for that xterm to
be there, waiting to accept further commands, when B is running again.
Currently, when B resumes the xterm is there, but the ssh connection is
not any more.
I had a look into the sshd documentation, and I thought that by setting
the following values in A's sshd configuration file, I could achieve my
goals:
KeepAlive no
ClientAliveInterval 60
ClientAliveCountMax 600
My interpretation was that, with this, my ssh client on B could be
unresponsive (dormant) for up to 10 hours, before the ssh server on A
would close the connection. However, that did not apply to the suspend
scenario I describe, like I said.
Can anybody suggest how to pull this one off? Is it even possible?
- Next message: Andrew Schulman: "Re: Keeping SSH connections open"
- Previous message: Phil Endecott: "Re: OpenSSH and $HOME"
- Next in thread: Andrew Schulman: "Re: Keeping SSH connections open"
- Reply: Andrew Schulman: "Re: Keeping SSH connections open"
- Reply: Darren Dunham: "Re: Keeping SSH connections open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|