I'm trying to scp a file from my mailserver to my computer. I can ssh into the mailserver without a problem, but when I try to scp something, I get: mailserver:~ # scp mailserver.tar root@192.168.112.2:/mnt/cd/mailserver/ 3283: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3283: @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ 3283: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3283: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! 3283: Someone could be eavesdropping on you right now (man-in-the-middle attack)! 3283: It is also possible that the RSA host key has just been changed. 3283: The fingerprint for the RSA key sent by the remote host is 1d:85:0b:77:c6:42:e0:77:52:bc:7a:5f:f4:5c:7c:6a. 3283: Please contact your system administrator. 3283: Add correct host key in /root/.ssh/known_hosts to get rid of this message. 3283: Offending key in /root/.ssh/known_hosts:1 3283: RSA host key for 192.168.0.2 has changed and you have requested strict checking. 3283: Host key verification failed. lost connection What does this mean? Tom
* Tom Nielsen; <tom@neuro-logic.com> on 17 Dec, 2003 wrote:
I'm trying to scp a file from my mailserver to my computer. I can ssh into the mailserver without a problem, but when I try to scp something, I get:
i
3283: Add correct host key in /root/.ssh/known_hosts to get rid of this message. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3283: Offending key in /root/.ssh/known_hosts:1 3283: RSA host key for 192.168.0.2 has changed and you have requested strict checking.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3283: Host key verification failed. lost connection
What does this mean?
It has actually told you what do to and has given alternatives -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer Please reply to the list; http://susefaq.sf.net Please don't CC me.
On Wed, 2003-12-17 at 11:33, Togan Muftuoglu wrote:
* Tom Nielsen; <tom@neuro-logic.com> on 17 Dec, 2003 wrote:
I'm trying to scp a file from my mailserver to my computer. I can ssh into the mailserver without a problem, but when I try to scp something, I get:
i
3283: Add correct host key in /root/.ssh/known_hosts to get rid of this message. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3283: Offending key in /root/.ssh/known_hosts:1 3283: RSA host key for 192.168.0.2 has changed and you have requested strict checking.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3283: Host key verification failed. lost connection
What does this mean?
It has actually told you what do to and has given alternatives
No, no, no. It has told you what to do and the alternatives. Sid Boyce told me what to do. I still have a problem in thinking like a computer. Once I can grasp that, then I'll understand what it tells me to do. ;-) In the meantime, I see blah, blah, blah. Thanks, Tom
* Tom Nielsen; <tom@neuro-logic.com> on 17 Dec, 2003 wrote:
No, no, no. It has told you what to do and the alternatives. Sid Boyce told me what to do.
If you are using ssh and the key files, before deleting the problem line it is better to double check that you are not actualy in the man in the middle attack. That is why the programm gives you a warning.
I still have a problem in thinking like a computer. Once I can grasp that, then I'll understand what it tells me to do. ;-) In the meantime, I see blah, blah, blah.
The key I have found is before kicking the computer (oh yes I still kick them hard when they do not listen my orders), is to reread the the eror message. For ssh I would recommend http://www.oreilly.com/catalog/sshtdg/ SSH, The Secure Shell: The Definitive Guide HTH -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer Please reply to the list; http://susefaq.sf.net Please don't CC me.
Tom Nielsen wrote:
I'm trying to scp a file from my mailserver to my computer. I can ssh into the mailserver without a problem, but when I try to scp something, I get:
mailserver:~ # scp mailserver.tar root@192.168.112.2:/mnt/cd/mailserver/ 3283: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3283: @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ 3283: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3283: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! 3283: Someone could be eavesdropping on you right now (man-in-the-middle attack)! 3283: It is also possible that the RSA host key has just been changed. 3283: The fingerprint for the RSA key sent by the remote host is 1d:85:0b:77:c6:42:e0:77:52:bc:7a:5f:f4:5c:7c:6a. 3283: Please contact your system administrator. 3283: Add correct host key in /root/.ssh/known_hosts to get rid of this message. 3283: Offending key in /root/.ssh/known_hosts:1 3283: RSA host key for 192.168.0.2 has changed and you have requested strict checking. 3283: Host key verification failed. lost connection
What does this mean?
Tom
It's nice to get a warning, so you can see if it's due to something you've done or another box is pretending to be yours in an office environment. Delete the line for 192.168.0.2 in /root/.ssh/known_hosts and do the scp again, accept the key and away you go. This happens e.g if you rebuild a box, the generated key is different from the one recorded on your previous transactions. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
It Worked! Thanks Sid! Tom On Wed, 2003-12-17 at 11:54, Sid Boyce wrote:
Tom Nielsen wrote:
I'm trying to scp a file from my mailserver to my computer. I can ssh into the mailserver without a problem, but when I try to scp something, I get:
mailserver:~ # scp mailserver.tar root@192.168.112.2:/mnt/cd/mailserver/ 3283: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3283: @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ 3283: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3283: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! 3283: Someone could be eavesdropping on you right now (man-in-the-middle attack)! 3283: It is also possible that the RSA host key has just been changed. 3283: The fingerprint for the RSA key sent by the remote host is 1d:85:0b:77:c6:42:e0:77:52:bc:7a:5f:f4:5c:7c:6a. 3283: Please contact your system administrator. 3283: Add correct host key in /root/.ssh/known_hosts to get rid of this message. 3283: Offending key in /root/.ssh/known_hosts:1 3283: RSA host key for 192.168.0.2 has changed and you have requested strict checking. 3283: Host key verification failed. lost connection
What does this mean?
Tom
It's nice to get a warning, so you can see if it's due to something you've done or another box is pretending to be yours in an office environment. Delete the line for 192.168.0.2 in /root/.ssh/known_hosts and do the scp again, accept the key and away you go. This happens e.g if you rebuild a box, the generated key is different from the one recorded on your previous transactions. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
participants (3)
-
Sid Boyce
-
Togan Muftuoglu
-
Tom Nielsen