View previous topic :: View next topic |
Author |
Message |
kevmille Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/209644318747838d49ddc2d.jpg)
Joined: 26 Jul 2003 Posts: 311 Location: Ho Chi Minh City (Saigon), Vietnam
|
Posted: Mon Mar 22, 2004 2:17 am Post subject: SSH Problem - Can't find /root/.ssh/known_hosts |
|
|
I am not sure what the problem is but when I try to get into my account through SSH, I get the following message:
Code: | bash-2.05b# ssh -l username domain.com
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
70:25:21:14:0c:3f:e5:37:7d:3c:70:23:0b:d9:3b:9e.
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:3
RSA host key for domain.com has changed and you have requested strict checking.
Host key verification failed.
|
I have no problems using SSH with my other accounts, just this one. I was told to delete line three from /root/.ssh/known_hosts:3 but that particular file does not seem to exist.
What should I do? _________________ My Company: Hakata Consulting |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nofx911 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1177645886405e17f1c36c2.jpg)
Joined: 21 Jan 2004 Posts: 30 Location: Milwaukee, WI
|
Posted: Mon Mar 22, 2004 4:43 am Post subject: |
|
|
From the account (make sure you use su -l or login directly into that user) on the remote box that you trying to ssh from try typing:
nano $HOME/.ssh/known_hosts
Then remove the lines that pertain to domain.com. Make sure that there is a good reason as to why the host key has changed or you could have someone who is trying to perfom an attack on your connection. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kevmille Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/209644318747838d49ddc2d.jpg)
Joined: 26 Jul 2003 Posts: 311 Location: Ho Chi Minh City (Saigon), Vietnam
|
Posted: Mon Mar 22, 2004 5:03 am Post subject: |
|
|
Thanks alot. That solved the problem ![Smile :-)](images/smiles/icon_smile.gif) _________________ My Company: Hakata Consulting |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|