ssh not working for AWS cluster node WARNING: POSSIBLE DNS SPOOFING DETECTED!

This is for Hadoop eco system like HDFS, Map reduce, Hive, Hbase, Pig, sqoop,sqoop2, Avro, solr, hcatalog, impala, Oozie, Zoo Keeper and Hadoop distribution like Cloudera, Hortonwork etc.
ramverma
Posts: 435
Joined: Sat Aug 23, 2014 5:34 pm
Contact:

ssh not working for AWS cluster node WARNING: POSSIBLE DNS SPOOFING DETECTED!

Postby ramverma » Wed Jan 17, 2018 6:05 pm

I was able to access AWS node. But after deconstructing the cluster I am getting below error/Warning.

raj-MacBook-Pro:~ avirani$ ssh usrname3@localhost.net
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for localhost.net has changed,
and the key for the corresponding IP address 10.287.187.95
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:3qxd9+JHqpyNKXp5Bhs7iiGShbJOnZr096R4gZ/ukCg.
Please contact your system administrator.
Add correct host key in /Users/raj/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/raj/.ssh/known_hosts:28
ECDSA host key for nmp-dev-reporting-001-gateway.aws-w-np.nielsencsp.net has changed and you have requested strict checking.
Host key verification failed.


mike123
Posts: 68
Joined: Fri Sep 15, 2017 1:44 am
Contact:

Re: ssh not working for AWS cluster node WARNING: POSSIBLE DNS SPOOFING DETECTED!

Postby mike123 » Wed Jan 17, 2018 6:11 pm

You need to delete host key containing localhost.net in ~/.ssh/known_hosts, and then ssh to edge node. It may be related to previous ssh as you said it was working fine before deconstructing cluster.

mike123
Posts: 68
Joined: Fri Sep 15, 2017 1:44 am
Contact:

Re: ssh not working for AWS cluster node WARNING: POSSIBLE DNS SPOOFING DETECTED!

Postby mike123 » Wed Jan 17, 2018 6:12 pm

you can also remove all known host from ~/.ssh/known_hosts as it may related to other known host also for old cluster.



Return to “Hadoop and Big Data”

Who is online

Users browsing this forum: No registered users and 1 guest