ssh failed to login in remote connection


 
Thread Tools Search this Thread
Operating Systems AIX ssh failed to login in remote connection
# 1  
Old 03-29-2011
ssh failed to login in remote connection

i am in node acbs01b and i use the root@fcbs01b to login and i have the below message .

Code:
ssh root@fcbs01b
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
28:a5:3f:25:97:84:f2:e6:27:7f:e4:8d:7a:9e:c3:18.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:7
RSA host key for fcbs01b has changed and you have requested strict checking.
Host key verification failed.

# 2  
Old 03-29-2011
It means what it says. If the server was replaced for some reason this could happen, and you can get rid of this message by deleting the line it complains about. Otherwise, investigate what happened to make the server's ID change.
# 3  
Old 03-29-2011
It's all in the message. The remote hosts ID has changed, which means that either
  1. someone has changed the SSH keys of the remote host, possibly by re-installing the service or the complete OS or
  2. someone is attempting a man-in-the-middle attack, trying to snoop in on your connection

Either way you should try to verify the key, either by looking at the system yourself or asking the systems administrator for the new fingerprint, and not establish connections until you've had that verification.
# 4  
Old 03-29-2011
the server was crashed and i restore it from other copy

Quote:
Originally Posted by Corona688
It means what it says. If the server was replaced for some reason this could happen, and you can get rid of this message by deleting the line it complains about. Otherwise, investigate what happened to make the server's ID change.
---------- Post updated at 06:03 PM ---------- Previous update was at 06:01 PM ----------

i am the sysadm and i need to login in to node B without writing the password for the node B

Quote:
Originally Posted by pludi
It's all in the message. The remote hosts ID has changed, which means that either
  1. someone has changed the SSH keys of the remote host, possibly by re-installing the service or the complete OS or
  2. someone is attempting a man-in-the-middle attack, trying to snoop in on your connection
Either way you should try to verify the key, either by looking at the system yourself or asking the systems administrator for the new fingerprint, and not establish connections until you've had that verification.
# 5  
Old 03-29-2011
You can then

1) edit your /root/.ssh/known_hosts

2) remove the line refering to the host you are trying to reach (fcbs01b)
(you can make copy of the known_hosts file in *.old or whatever at first if you don't feel confortable with deleting the line without having a copy)

3) connect again ssh root@fcbs01b

4) answer "yes" when prompted. (the corresponding host key will be regenerated in your /root/.ssh/known_hosts)

5) you should be connected now
# 6  
Old 03-29-2011
Quote:
Originally Posted by thecobra151
the server was crashed and i restore it from other copy
That's why the ID changed, then -- your backup had a different ID than you have now... or you didn't back up the ID and it generated a new one.

Delete the offending line and it should start letting you login again.
Quote:
i am the sysadm and i need to login in to node B without writing the password for the node B
If you restored user files, hopefully it'll have restored your ~/.ssh/ files with it which will allow passwordless logins like before.
# 7  
Old 03-29-2011
thank you all now it works fine for all servers Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

Connection SSH to remote by ssh

Hello guys! I am setting up a script to access a unix remote server. My problem is that when I put the ssh line "my host", the script does not wait for the server response asking for the password to execute the line in which I put the password, that is, I need to put a form in which script has a... (1 Reply)
Discussion started by: aroucasp
1 Replies

2. AIX

Number of failed login using SSH Dictionary attack

Dears how to Block the connection after 3 to 5 login attempts using SSH Dictionary attack (1 Reply)
Discussion started by: thecobra151
1 Replies

3. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

4. Windows & DOS: Issues & Discussions

Application failed when remote login

I have an application (EXE file) in a Windows 2003 server. Through a DOS batch script, I called that application file using UNC path and working fine when locally login. But got failed when I tried the same batch script on remote login. The login id has been provided all the below rights: - Log on... (0 Replies)
Discussion started by: r_sethu
0 Replies

5. Solaris

Please help me.. connection failed between OpenSSH-3.8.1 to Sun SSH-1.1

hi All, We tried to establish a connection from OpenSSH3.8.1 running on Windows Box to SunSSH-1.1 running on Solaris 10. Please see the debug statements. C:\Documents and Settings\sadmin\.ssh>ssh sadmin@10.4.3.8 -v -v -v OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004 debug1: Reading... (2 Replies)
Discussion started by: venusunil
2 Replies

6. Solaris

ssh connection failed.

When i was connecting the Solaris system by sftp . i got the following error. "Warning: child process (/usr/local/bin/ssh2) exited with code 74." Could any one help, how to fix it ? (1 Reply)
Discussion started by: nag.mi2000
1 Replies

7. UNIX for Advanced & Expert Users

failed ssh login with keys

Hi all, i have generated a pair of keys so that i can login via SSH without entering my password. I am using putty to login. After putting the public key on the server,then logging through putty, i get the message "Server refused our key" on screen. At the same time, /var/log/secure is... (3 Replies)
Discussion started by: new2ss
3 Replies

8. Shell Programming and Scripting

Remote SSH Connection Using Script

Hi, I am new to Shell Scripting. Can anybody help me in writing a Script Which Could Login from a Unix box to a Remote Unix box which accepts the user credentials automatically and display the result for checking the Disk Space Utilisation (Without running any SSH agent). (1 Reply)
Discussion started by: ajith_tg
1 Replies

9. Shell Programming and Scripting

Remote Connection (SSH)

Hello all, I connect usually to one enviornment "dev" daily and then ftp some files to some other enviorment "uat" and then login to "uat" and run some scripts to process these files. I was thinking to automate the process, where running one script from "dev" will complete all task required... (11 Replies)
Discussion started by: RishiPahuja
11 Replies

10. UNIX for Advanced & Expert Users

Solaris 9 remote login (ssh) drops connection

Hello All, I wonder if you can help me... Let me give you some set-up details before I ask you the question. I have Ultra-60 at home with Solaris 9 and recommended patch cluster installed. The machine is connected to a Linksys WAG54G ADSL router/modem through RJ45 ethernet cable. The... (2 Replies)
Discussion started by: ahmerin
2 Replies
Login or Register to Ask a Question