You're welcome.

I did a quick google and the error you would be getting if my guess is correct 
is "Host key verification failed" and multiple solutions are here:
http://askubuntu.com/questions/45679/ssh-connection-problem-with-host-key-verification-failed-error

The responses provide both the command for clearing the key for a specific 
host/ip address and also the name of the file ~/.ssh/known_hosts.

Unfortunately reboot will not do the job for you in this instance.


________________________________
Dave Manginelli | Programmer/Analyst
Benefit Communications, Inc.
2977 Sidco Drive | Nashville, TN 37204
Office: 800.489.3786 | 615.292.3786 Ext. 606
[email protected]
www.benefitcommunications.com<http://www.benefitcommunications.com>
We're expanding and have to make room!
Our new address is 2977 Sidco Drive, Nashville, TN 37204
________________________________
From: [email protected] [[email protected]] on behalf of Curt 
Lundgren [[email protected]]
Sent: Wednesday, October 02, 2013 4:48 PM
To: NLUG
Subject: Re: [nlug] RSA key login with SSH

Thanks, Dave.  I can reboot one of the clients in the morning, perhaps that 
will clear up the issue.

Curt


On Wed, Oct 2, 2013 at 4:45 PM, Dave Manginelli 
<[email protected]<mailto:[email protected]>> wrote:
I'm at a client's site so I can't test this or be more specific but this sounds 
to me like the host key of the "old" machine is cached in the client and it 
does not match the host key of the machine now residing at that IP.  You can 
test this by using the HostKeyAlias parameter when you connect from the client 
and setting it to any arbitrary name NOT in actual use on your network.  It 
should ask you if you accept the new host key and then connect automatically 
after that as long as the same HostKeyAlias is supplied.  You can fix it by 
clearing the key for that IP address on the client but I don't remember where 
it's located and am not able to pursue it right now.

Maybe this will point you in the right direction...



On Wed, Oct 2, 2013 at 4:22 PM, Curt Lundgren 
<[email protected]<mailto:[email protected]>> wrote:
I've just built a couple of CentOS 6.4 machines, and need to use a no-password 
RSA key login to root.  No flames please about logging in as root.

Had it working on both machines, but when I changed the "main" IP address so 
the new machine could take over for an ailing one, the login capability was 
lost.  I can do a password login, but not with the RSA key.

Thought it might be the server SSH keys, as though they're somehow tied to IP 
addresses, so I regenerated them.  No joy.  I've tried logging in from a couple 
of different boxes (Linux and Mac), still no joy.

The other server got built, got its "main" IP address changed, and is working 
just fine.  I did a diff between sshd_config on both machines; the files are 
identical.

I'm scratching my head and it's starting to hurt.  Any ideas?  (I know, stop 
scratching.)

Curt

--
--
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to 
[email protected]<mailto:[email protected]>
To unsubscribe from this group, send email to 
[email protected]<mailto:nlug-talk%[email protected]>
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

---
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:nlug-talk%[email protected]>.
For more options, visit https://groups.google.com/groups/opt_out.


--
--
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to 
[email protected]<mailto:[email protected]>
To unsubscribe from this group, send email to 
[email protected]<mailto:nlug-talk%[email protected]>
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

---
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:nlug-talk%[email protected]>.
For more options, visit https://groups.google.com/groups/opt_out.


--
--
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

---
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to