Re: openssh cygwin: connection closed by remote host
- From: Andrew Schulman <andrex@xxxxxxxxxxxx>
- Date: Wed, 12 Jul 2006 08:53:48 GMT
Running ssh -vv or -vvv on the client will give you more information, which
may help to illuminate what happened.
What do the server logs show from this exchange? Did you crank up LogLevel
to VERBOSE or DEBUG in /etc/ssh/sshd_config and restart sshd?
So I have noticed that upon logout from a remote session that the
forked sshd process is not killed. So say after having logged in and
then out 5 complete round trips there will be 6 sshd processes running
on the remote windows box, 1 corresponding to the original and 5 forked
processes from the 5 now closed connections. Could it be that this is
the source of my problems?
I don't see anything in sshd_config that relates to the number of allowed
concurrent connections from one user, but it is strange that those old
processes stay around, and that might be related to your problem.
Also when running sshd in debug mode I was
unable to open a connection, got: will not fork when running in
debugging mode. Should I need to fork on the first and only
connection?
Any time someone logs into the server, it forks off a new process to handle
the new connection. But you misunderstood me: I didn't say to run sshd in
debug mode (sshd -d). I said to set LogLevel to VERBOSE or DEBUG in
/etc/ssh/sshd_config, and restart sshd.
Any thoughts? If this is the problem, is there a way to force the sshd
process for the current connection closed without disturbing the
orignal sshd process? Thanks for any help.
Yes, you can kill the child sshd processes without harming the parent sshd.
Try doing that by hand before you reach 5 leftover processes, and see if
that allows you to keep logging in.
--
To reply by email, change "deadspam.com" to "alumni.utexas.net"
.
- Follow-Ups:
- Re: openssh cygwin: connection closed by remote host
- From: kherring
- Re: openssh cygwin: connection closed by remote host
- References:
- openssh cygwin: connection closed by remote host
- From: kherring
- Re: openssh cygwin: connection closed by remote host
- From: René Berber
- Re: openssh cygwin: connection closed by remote host
- From: kherring
- Re: openssh cygwin: connection closed by remote host
- From: Andrew Schulman
- Re: openssh cygwin: connection closed by remote host
- From: kherring
- openssh cygwin: connection closed by remote host
- Prev by Date: books on SSH
- Next by Date: Re: openssh cygwin: connection closed by remote host
- Previous by thread: Re: openssh cygwin: connection closed by remote host
- Next by thread: Re: openssh cygwin: connection closed by remote host
- Index(es):
Relevant Pages
|