System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

ssh_exchange_identification: Connection closed by remote host

Azaru
Regular Advisor

ssh_exchange_identification: Connection closed by remote host

Hi All,

I am unable to connect the remote host through ssh. While i am trying to cennect i am getting the following error message.

bkpsvr:root-/>ssh druser@eaidb
ssh_exchange_identification: Connection closed by remote host
bkpsvr:root-/>

What could be the reason?
Thanks in advance
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: ssh_exchange_identification: Connection closed by remote host

Shalom,

It could be any one of a hundred reasons.

ssh daemon may be configured incorrectly or requires a restart. A firewall could be interfering. There could be permissions problems.

The way to find out is to log in to the target server and check its logs. /var/adm/syslog/syslog.log

Obviously if ssh is down, you may need to use telnet or log onto the system console.

Regards,

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
OldSchool
Honored Contributor

Re: ssh_exchange_identification: Connection closed by remote host

has this ever worked or is this a "new" installation.

if its a new installation, start the sshd manually on the server end with the debug options and see if it ever connects.
Mel Burslan
Honored Contributor

Re: ssh_exchange_identification: Connection closed by remote host

If there are any firewalls between the ssh client and the server, it is always a safe bet to start with the firewall admins to see if they are blocking port 22/tcp in the direction of "From client --> To Server". If they do, they need to open it up for ssh to work.
________________________________
UNIX because I majored in cryptology...
Bill Hassell
Honored Contributor

Re: ssh_exchange_identification: Connection closed by remote host

You need to find out where in the negotiation the connection is being closed. Use this command:

ssh -vvv druser@eaidb

Post the results.


Bill Hassell, sysadmin
Azaru
Regular Advisor

Re: ssh_exchange_identification: Connection closed by remote host

Hi,

Issue is resolved thanks

azaru