Discuss [SSH][Solved] How to edit the known_hosts ? at the General - Hackint0sh.org; I've installed ssh on my jailbroken iPhone 1.1.2 and Macfuse and sshfs on my Macbook, ...
-
Rookie
Array
[SSH][Solved] How to edit the known_hosts ?
I've installed ssh on my jailbroken iPhone 1.1.2 and Macfuse and sshfs on my Macbook, but I can't access the iphone from the Mac finder. When I start sshfs and enter the iPhones IP and "root", then just nothing seems to happen.
I can access the iPhone from the Macbook via the terminal with the command "ssh root@192.168.000.006". Later I also tried it with "ssh root@192.168.0.6", and I suppose by doing so I confused something and therefore I can not access the iPhone from sshfs. May that be possible? Here is some protocol which I got from ssh, which unfortunately I don' really understand:
installations-macbook:~ Meins$ ssh root@192.168.0.6
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
@ 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
06:57:5a:50:fa:42:d8:fb:d4:4f:a9:6d:b8:47:9d:d1.
Please contact your system administrator.
Add correct host key in /Users/Meins/.ssh/known_hosts to get rid of this message.
Offending key in /Users/Meins/.ssh/known_hosts:2
RSA host key for 192.168.0.6 has changed and you have requested strict checking.
Host key verification failed.
installations-macbook:~ Meins$ ssh root@192.168.000.006
Warning: the RSA host key for '192.168.000.006' differs from the key for the IP address '192.168.0.6'
Offending key for IP in /Users/Meins/.ssh/known_hosts:2
Matching host key in /Users/Meins/.ssh/known_hosts:4
Are you sure you want to continue connecting (yes/no)? yes
root@192.168.000.006's password:
Last login: Fri Jan 11 10:54:14 2008 from 192.168.0.2
#
Can anybody tell me what I have to do to remedy the mess and for connecting to my iPhone form sshfs? On my Mac I cannot find a directory "/Users/Meins/.ssh/". May it be hidden? And if sshfs would work correctly, how then should I see the iPhone in the finder?
I would be grateful for any hint, and please, please try to use layman's terms
Last edited by kuebler; 01-11-2008 at 12:26 PM.
Reason: clarifications
Falk Kuebler
-
-
Senior Professional
Array
Nothing to worry about unless this happens everytime you connect. .ssh is a hidden directory (all . files/directories in unix are hidden, you can see them with ls -a ) . You can edit the file (known_hosts) and remove the second line if you wish .
Last edited by adyh; 01-11-2008 at 12:44 PM.
-
-
Rookie
Array

Originally Posted by
adyh
You can edit the file (known_hosts) and remove the second line if you wish .
Excellent! When I draw the textedit window veeeeeeeeerrrrry long, then I could identify the line and delete it. And afterwards I could also connect the iPhone via sshfs to my desktop.
Thanks for the hint.
Last edited by kuebler; 01-11-2008 at 05:13 PM.
Falk Kuebler
Similar Threads
-
By ifail in forum General
Replies: 0
Last Post: 06-09-2011, 03:17 AM
-
Replies: 7
Last Post: 09-17-2010, 02:30 PM
-
By Sebastian-Bonn in forum Tools
Replies: 4
Last Post: 08-12-2008, 11:53 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks