Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.50 sec)
SSHD fails when I connect

I'm getting this with a fresh install of SSHD:

sshd[12922]: Did not receive identification string from IPADDRESS

Confused ? Me too.
Asked by:
Shrek
513 points
 Report Abuse
 Share Page - Category: Linux Servers - Tags: SSHD fails when I connect
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (5)

Although TCP wrappers were fine unfortunately IPtables wasn't.

Thanks for your help, it made a difference.

Response by:
Shrek
513 points
Another reason is:

it could be a bad generated tcp/ip packet, so that could be a reason from

the lack of ip header, or a IPV6 packet, or even another type of packet

(UDP, PPPoE, PPPTP, Tunnel).

did you change any library ?

any attack on your system ?

Response by:
jalal
3623 points
You can check by:

1)from local computer execute "ssh 127.0.0.1

what happens? if you get an error message

try to check /etc/ssh/sshd_config, perhaps something is wrong

if every thing is ok, try to reinstall sshd or update it

if you are using Redhat family ike fedora/centos...

execute "rpm -V sshd" and see result

2)from remote host execute "ssh ......."

what happens(check with different client)

also see /var/log/messages /var/log/secure

3) what about firewall or iptables ?

execute "iptables -L" and see result

fffdd

Response by:
jalal
3623 points
Check service sshd on your server is run or not

after view is port is open or not

afte ssh to local-server and read /var/log/secure and /var/log/messages

Response by:
mohamad_kian
1548 points
Can you connect to ssh from the ssh server itself using 127.0.0.1 and then by its IP address?

Response by:
tmtt
440 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2014 Server Circle