Jump to content

Scp Help!


cody t
 Share

Recommended Posts

What does this mean? just upgraded firmware on my mk4 and still getting the gist of it.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@ 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 the RSA host key has just been changed.

The fingerprint for the RSA key sent by the remote host is

be:c3:xx:b6:xx:41:29:15:xx:5c:11:xx:83:14:17:5xx.

Please contact your system administrator.

Add correct host key in /Users/cthockey16/.ssh/known_hosts to get rid of this message.

Offending key in /Users/cthockey16/.ssh/known_hosts:2

RSA host key for 172.16.42.1 has changed and you have requested strict checking.

Host key verification failed.

lost connection

Link to comment
Share on other sites

What does this mean? just upgraded firmware on my mk4 and still getting the gist of it.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@ 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 the RSA host key has just been changed.

The fingerprint for the RSA key sent by the remote host is

be:c3:xx:b6:xx:41:29:15:xx:5c:11:xx:83:14:17:5xx.

Please contact your system administrator.

Add correct host key in /Users/cthockey16/.ssh/known_hosts to get rid of this message.

Offending key in /Users/cthockey16/.ssh/known_hosts:2

RSA host key for 172.16.42.1 has changed and you have requested strict checking.

Host key verification failed.

lost connection

when you reflash the pineapple generates a new key and to get around this you need to remove the offending key "pineapple" in /Users/cthockey16/.ssh/known_hosts on your computer

I think it's the second key, don't take my word on it;-) goodluck

Link to comment
Share on other sites

Whenever you ssh to a server the client stores information about that server including its fingerprint, that is the bit you say yes to when you connect to a server for the first time.

From then on whenever you reconnect to that server it compares the fingerprint to the one you've confirmed is for that box, if they don't match you get a warning like you've got here. It is then up to you to decide whether it is a legitimate change or whether someone has messed with the server. In this case as you rebuilt the device its fingerprint will have changed so you know it is legit. Go into the file /Users/cthockey16/.ssh/known_hosts and remove line 2, you get 2 from the :2 on the end of the filename.

If you have connected by name rather than IP you would get 1 warning and one fail like this and so you would then need to remove two lines.

Link to comment
Share on other sites

Try this, open your terminal then do;

sudo vi /Users/cthockey16/.ssh/known_hosts

Then arrow down to the line containing the pineapple's ip address, should be the second line. Type

dd

which should delete that line, then type

:wq!

which will write the new file and quit vi. If all else fails and you don't mind killing all your known hosts, just do a

rm /Users/cthockey16/.ssh/known_hosts

which will just delete the entire known_hosts file.

Edited by barry99705
Link to comment
Share on other sites

Try this, open your terminal then do;

sudo vi /Users/cthockey16/.ssh/known_hosts

Then arrow down to the line containing the pineapple's ip address, should be the second line. Type

dd

which should delete that line, then type

:wq!

which will write the new file and quit vi. If all else fails and you don't mind killing all your known hosts, just do a

rm /Users/cthockey16/.ssh/known_hosts

which will just delete the entire known_hosts file.

if i decide to kill all known hosts how do I add myself as a host again?

Link to comment
Share on other sites

Try this, open your terminal then do;

sudo vi /Users/cthockey16/.ssh/known_hosts

Then arrow down to the line containing the pineapple's ip address, should be the second line. Type

dd

which should delete that line, then type

:wq!

which will write the new file and quit vi. If all else fails and you don't mind killing all your known hosts, just do a

rm /Users/cthockey16/.ssh/known_hosts

which will just delete the entire known_hosts file.

got it thank you so much(:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...