Problem in logging in freerunner through ssh

Marcus Bauer marcus.bauer at gmail.com
Thu Jul 17 21:26:43 CEST 2008


Paul Bonser answered already with the fix.

I'll add the reason: whenever you connect to an unknown system, you are
asked if you want to accept the key like this:

-----------------------------------------------------------------
The authenticity of host '192.168.0.202 (192.168.0.202)' can't be
established.
RSA key fingerprint is d8:c1:d2:ac:e9:57:9f:ed:1d:ee:b3:fa:62:04:8c:6c.
Are you sure you want to continue connecting (yes/no)?
-----------------------------------------------------------------

and when you answer 'yes' the public key will be saved to your
~/.ssh/known_hosts file. This prevents the so called
man-in-the-middle-attack. Search google or wikipedia for more details.

If you reflash your phone, the public key changes (it is unique and
generated on the first boot) and your ssh believes there is an attack.
Somewhere on the wiki is a description how to shut this behaviour off,
but I hope nobody will ever inactivate this vigilance.

HTH, best regards,
Marcus




On Fri, 2008-07-18 at 00:40 +0530, saurabh gupta wrote:
> Hi all,
> 
> I followed the steps given in "Getting started with freerunner" on
> wiki to install the sample application in my free runner. I started
> the  FR normally and then connect it through a usb cable.  However
> after executing the command :
> sudo ifconfig usb0 192.168.0.200 netmask 255.255.255.0
> when  i executed "ssh root at 192.168.0.202", the following error message
> occurred:
> 
> ================================================
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> @    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
> 37:a6:d4:f0:35:89:7c:6f:85:c4:9a:2f:31:c5:3f:35.
> Please contact your system administrator.
> Add correct host key in /home/saurabhg/.ssh/known_hosts to get rid of
> this message.
> Offending key in /home/saurabhg/.ssh/known_hosts:3
> RSA host key for 192.168.0.202 has changed and you have requested
> strict checking.
> Host key verification failed.
> 
> =========================================================
> 
> Can anyone suggest me the problem and the solution to fix it.
> 
> Thanks ...
> 
> -- 
> Saurabh Gupta
> Electronics and Communication Engg.
> 
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community





More information about the community mailing list