I'm having a problem with known (or unknown!) hosts since changing the IP address on a server. Server info: Redhat 8.0 ssh -V: OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f Client info: Redhat 9 ssh -V: OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f When logging into the server, I'm getting the following message: RSA host key for IP address '10.14.36.204' not in list of known hosts. I've played around with ~/.ssh/known_hosts (even renaming it), but I still get the message. Looking at the documentation for the known_hosts file format (in sshd man page), my current known_hosts file, looks quite a bit different (many fields are omitted). Why do I get the message, and how do I get rid of it? TIA, Bill
Is '10.14.36.204' your client or your server? First reaction is that you should just replace the old ip with the new one in the known_hosts file, though maybe it's no that simple. It could be that either your client doesn't want to connect to a server it doesn't know about, or your server doesn't want to accept connections from a client it doesn't know about. It could be changes needed in your ~/.ssh/known_hosts on the client or /etc/ssh/ssh_known_hosts on the server. Can you be a little more explicit about exactly what you are trying to do? Maybe include output from doing a 'ssh -v <host/ip>'... np, -poz On Tue, 27 Apr 2004, Bill Mills-Curran wrote:
I'm having a problem with known (or unknown!) hosts since changing the IP address on a server.
Server info: Redhat 8.0 ssh -V: OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
Client info: Redhat 9 ssh -V: OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
When logging into the server, I'm getting the following message:
RSA host key for IP address '10.14.36.204' not in list of known hosts.
I've played around with ~/.ssh/known_hosts (even renaming it), but I still get the message. Looking at the documentation for the known_hosts file format (in sshd man page), my current known_hosts file, looks quite a bit different (many fields are omitted).
Why do I get the message, and how do I get rid of it?
TIA, Bill
Frank, 10.14.36.204 is the server IP. BTW, it gives that message even though I use the hostname on the ssh command line. I ran ssh -v, and found the problem... I needed to modify known_hosts2, not known_hosts. Silly mistake on my part, although the documentation does not mention known_hosts2 Thanks for the push in the right direction. Bill On Tue, Apr 27, 2004 at 10:53:24AM -0400, frank p wrote:
Is '10.14.36.204' your client or your server? First reaction is that you should just replace the old ip with the new one in the known_hosts file, though maybe it's no that simple. It could be that either your client doesn't want to connect to a server it doesn't know about, or your server doesn't want to accept connections from a client it doesn't know about. It could be changes needed in your ~/.ssh/known_hosts on the client or /etc/ssh/ssh_known_hosts on the server. Can you be a little more explicit about exactly what you are trying to do? Maybe include output from doing a 'ssh -v <host/ip>'...
np, -poz
On Tue, 27 Apr 2004, Bill Mills-Curran wrote:
I'm having a problem with known (or unknown!) hosts since changing the IP address on a server.
Server info: Redhat 8.0 ssh -V: OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
Client info: Redhat 9 ssh -V: OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
When logging into the server, I'm getting the following message:
RSA host key for IP address '10.14.36.204' not in list of known hosts.
I've played around with ~/.ssh/known_hosts (even renaming it), but I still get the message. Looking at the documentation for the known_hosts file format (in sshd man page), my current known_hosts file, looks quite a bit different (many fields are omitted).
Why do I get the message, and how do I get rid of it?
TIA, Bill
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (2)
-
Bill Mills-Curran
-
frank p