LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2014, 05:38 AM   #1
a.abdulna
Member
 
Registered: Feb 2013
Location: Bangalore
Distribution: Rhel
Posts: 86

Rep: Reputation: Disabled
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.
 
Old 02-06-2014, 08:40 AM   #2
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: Previously 2 * Fedora 18 Servers -> 2 * CentOS 6.7 + random distro testing
Posts: 96

Rep: Reputation: Disabled
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!
 
Old 02-06-2014, 09:46 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by a.abdulna View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh Login issue on Ubuntu Lucid 12.04 LittleMaster Linux - Server 1 07-29-2013 12:03 AM
SSH login issue kumarsalmeda Linux - Newbie 4 08-25-2012 07:19 AM
[SOLVED] SSH login with public key issue ZAMO Linux - Security 3 07-02-2010 04:36 PM
Question about using the ssh login without password issue icammy Linux - Enterprise 2 04-03-2007 07:08 AM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration