Re: Keeping SSH connections open
From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 06/15/05
- Next message: Augustus SFX van Dusen: "Re: Keeping SSH connections open"
- Previous message: Andrew Schulman: "Re: Keeping SSH connections open"
- In reply to: Augustus SFX van Dusen: "Keeping SSH connections open"
- Next in thread: Augustus SFX van Dusen: "Re: Keeping SSH connections open"
- Reply: Augustus SFX van Dusen: "Re: Keeping SSH connections open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 15 Jun 2005 17:12:08 GMT
Augustus SFX van Dusen <ASFXvD@story.net> wrote:
> 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
That would be my first attempt at it. Does the SSH server remain in
place on A during that time?
> 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.
When you resume, does everything look okay until you press a key in the
ssh session, or does the xterm already have a quit message from ssh or
something?
-- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
- Next message: Augustus SFX van Dusen: "Re: Keeping SSH connections open"
- Previous message: Andrew Schulman: "Re: Keeping SSH connections open"
- In reply to: Augustus SFX van Dusen: "Keeping SSH connections open"
- Next in thread: Augustus SFX van Dusen: "Re: Keeping SSH connections open"
- Reply: Augustus SFX van Dusen: "Re: Keeping SSH connections open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|