Re: SSH connection problem



On Sep 4, 2:48 pm, Steven Borrelli <sborrel...@xxxxxxxxx> wrote:
On Sep 2, 5:58 am, Steven Mocking





<u...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Steven Borrelli schreef:

On Sep 1, 6:39 am, Steven Mocking
<u...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Steven Borrelli schreef:

ssh_exchange_identification: Connection closed by remote host
This could be a whole range of problems. What does the server log report
for your login? Does the same thing happen when you ssh to localhost on
the server?

I can ssh to localhost just fine.. there's no problem with that.
It's just the remote connections i'm having trouble with. And it
appears to be that way for all user accounts on the system. I'm not
able to check the error logs at the moment... I'll get back with you
on that.

The tcp wrapper problems Richard describes are very likely the cause if
it reacts different depending on the client host.

Also check if you have installed something like denyhost for blocking
automated login attempts. I've found that denyhost in particular has/had
(at least in june 2006) a very overzealous default configuration and
blocks ip addresses from SSH after a few typo's. You might want to look
at /etc/denyhosts.conf if it's installed.

Sorry guys, I haven't had a chance to check any of these things
lately...

My thoughts are that nothing has been changed by anyone in the last
two years. In that time frame, we did have some lightning damage to
the router and some other things requiring the server to be rebooted.
Could there be something that was not set to start automatically upon
boot?

ssh was working perfectly two years ago. No one has even touched this
machine since then -- except me, starting a few months ago (unless we
got hacked...?). ssh has never worked properly for as long as I have
been working on the machine.

I'll check the logs soon.- Hide quoted text -

- Show quoted text -

Hey now it works!

All I did was a kill -HUP [sshd's pid] and it started working. I
have no idea what was wrong with it, but it's all good now. I don't
think it had anything to do with the /etc/hosts.{allow/deny} or
anything. This being the case, any thoughts as to why it wasn't
working before?

.



Relevant Pages

  • RE: OWA 2003 with ISA 2004
    ... OWA externally. ... i can login by any user. ... 825763 How to configure Internet access in Windows Small Business Server ... g. Reproduce this issue and send the logs to me. ...
    (microsoft.public.windows.server.sbs)
  • Re: Hacker activity?
    ... >login to a server, most as root but some are attempts to login to ... >telnet, all come from the same remote server, and all fail. ... >getting some odd cgi calls to a script on a secure ssl server. ... Make sure root cannot login to your system via ssh. ...
    (freebsd-questions)
  • Public Authentication Problem on Batch Job using SCP2 when SSH Client Reboot
    ... to a SSH server, HOST2. ... for secure ftp login. ... The login ID is a local user account ... we found that scp2 run failed every time the SSH client ...
    (comp.security.ssh)
  • Re: restrict ssh access
    ... > We have one ssh server which receives about 6000 failed attempts to ... > unsuccessful login attempts per client IP address? ... the remote server is also running OpenSSH. ...
    (comp.security.ssh)
  • Re: Hyperthreading security flaw was: Hyperthreading; was Re: New to Linux. Im not impressed :(
    ... In the case of a multi-user server where users ... login via SSH, a legitimate user could log in, provoke the SSH ... gain more out of the stolen hostkey. ...
    (comp.os.linux.misc)