LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh login issue. (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-login-issue-4175493907/)

a.abdulna 02-06-2014 04:38 AM

ssh login issue.
 
Hi Team,

One of our server while try to reach thru ssh we are getting like "ssh_exchange_identification: Connection closed by remote host".

#ssh -v 10.71.173.37
" OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to apps02 [10.71.173.37] port 22.
debug1: Connection established.
debug1: identity file /home/etiuser/.ssh/identity type -1
debug1: identity file /home/etiuser/.ssh/id_rsa type 1
debug1: identity file /home/etiuser/.ssh/id_dsa type -1
debug1: loaded 3 keys
ssh_exchange_identification: Connection closed by remote host

Please help me to resolve this.

B.R.
Abdul.

Rawcous 02-06-2014 07:40 AM

Hello,

Try:

1. Running ssh -vvv 10.71.173.37 to produce more verbose output.
2. Check the /var/log/secure file on the remote host for errors.

The former will more than likely provide more of a clue as to what's going on.

Rawcous!

TB0ne 02-06-2014 08:46 AM

Quote:

Originally Posted by a.abdulna (Post 5112591)
Hi Team,
One of our server while try to reach thru ssh we are getting like "ssh_exchange_identification: Connection closed by remote host".

#ssh -v 10.71.173.37
" OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
ssh_exchange_identification: Connection closed by remote host
Please help me to resolve this.

Did you try putting that error into Google first?? There are MANY different resolutions, but most center around either network or DNS issues.

You say NOTHING about the environment, whether this was ever working or not, what version/distro of Linux you're using (although we can GUESS that it's RHEL5), or if you're connection via a VPN, LAN, WAN, or over the Internet. And is this just one user, or ANY user? One workstation to that server, or ANY workstation? ALL of those things make a difference. If you tried to look this up, there are solutions:
https://www.linode.com/wiki/index.ph...by_remote_host
http://edoceo.com/notabene/ssh-exchange-identification
https://bbs.archlinux.org/viewtopic.php?pid=1230433

And again, since you're using RHEL5, YOU NEED TO BE PAYING FOR IT, and need to contact RED HAT SUPPORT.


All times are GMT -5. The time now is 03:50 AM.