login problem

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

i have three hosts A,B and C that always use ssh to remote control
each other, usually (C control A and B, B control A)
recently i try to use SCP to transfer a file from A to B, but
following warning message occur:

`Warning: the RSA host key for 'host.yyy.net' differs from the key for
the ip address ''
Matching host key in /home/user/.ssh/known_hosts2:2
Offending key for IP in /home/walker/.ssh/known_hosts2:1
Are you sure you want to continue connecting (yes/no)?'

Can anyone know the answer?  Any reply will be appreciated?  Thanks


Re: login problem

Quoted text here. Click to load it

You should mention which SSH product and version you're using.  Assuming
it's OpenSSH (which it looks like, but I could be wrong) you need to
check the man page for "ssh_config", particularly HostKeyAlias and

Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Site Timeline