ssh did not receive identification string

Hi,

Recently I can’t login from external IP’s anymore, It logs following failure in /var/log/messages:



Oct 28 13:00:37 server sshd[28164]: Did not receive identification string from xxx.xxx.xxx.xxx


I googled it, but there it was always that that is affected by some scripts or attacks, but here it is me trying to connect!

I tried it via ssh on a linux machine and putty on windows, both some failure!

Coming from internal 192.168.xxx.xxx it works, but if I try from the internet it don’t…

Nmap says port forwarding works and its open!

Don’t know how to fix that!

Thanks

On Fri, 28 Oct 2011 20:13:13 +0000, Thorus wrote:

> Hi,
>
> Recently I can’t login from external IP’s anymore, It logs following
> failure in /var/log/messages:
>
>
> Code:
> --------------------
>
>
> Oct 28 13:00:37 server sshd[28164]: Did not receive identification
> string from xxx.xxx.xxx.xxx
>
>
> --------------------
>
>
> I googled it, but there it was always that that is affected by some
> scripts or attacks, but here it is me trying to connect!
>
> I tried it via ssh on a linux machine and putty on windows, both some
> failure!
>
> Coming from internal 192.168.xxx.xxx it works, but if I try from the
> internet it don’t…
>
> Nmap says port forwarding works and its open!
>
> Don’t know how to fix that!
>
> Thanks

From outside your firewall, what happens if you try telnetting to port 22
(or whatever port you’ve got sshd listening on if you’ve changed the
default).

You should get a string that looks like:

SSH-2.0-OpenSSH_5.8

If you do, then the issue isn’t connectivity, but something with the sshd
configuration.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C