Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hellomoto4

macrumors 6502a
Original poster
Jul 11, 2008
804
0
Australia
Hey guys,

I tried to SSH tonight without luck.
Using Transmit on my Mac and OpenSSH on my iPhone 3G, I tried to connect at root@192.168.0.9, with the password Alpine. I've double checked and yes this is my iPhone's current IP address. Yes, I am trying to connect via SFTP also.

Anyway, I click connect and get this message:
2vci5mt.jpg


So, I click OK, and then 2 seconds later get the same message. And it repeats continuously until I click Cancel and it stops trying to connect.

I'm not sure what exactly the Host Key is as I am new to SSH as of a couple of months ago, and don't/didn't use it often. Any ideas as to why I cannot connect, or is it due to 3.0?

Thank you for your help :)
 
Finder > Go > Go to Folder... > ~/.ssh/
Remove file known_hosts

After that, if Transmit refuses to connect, use Terminal (/Applications/Utilities/Terminal) to ssh, by entering the following :
Code:
ssh root@[COLOR="Navy"]YOUR_IPHONE_IP_ADDRESS_HERE[/COLOR]
Press the Enter/Return key
Type in password: alpine
Press the Enter/Return key

PS: the password will not show as you type it... normal!

Now Transmit should let you connect.
 
Try this:

1. open terminal
2. type rm .ssh known_hosts
3. press enter
4. try to ssh into the phone again [through terminal]
 
Finder > Go > Go to Folder... > ~/.ssh/
Remove file known_hosts

After that, if Transmit refuses to connect, use Terminal (/Applications/Utilities/Terminal) to ssh, by entering the following :
Code:
ssh root@[COLOR="Navy"]YOUR_IPHONE_IP_ADDRESS_HERE[/COLOR]
Press the Enter/Return key
Type in password: alpine
Press the Enter/Return key

PS: the password will not show as you type it... normal!

Now Transmit should let you connect.

This worked perfectly, thank you so much! :)
 
I'm getting the following error when I ssh to my Jailbroken iPhone 2G:

dyld: lazy symbol binding failed: Symbol not found: _login
Referenced from: /usr/sbin/sshd
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _login
Referenced from: /usr/sbin/sshd
Expected in: /usr/lib/libSystem.B.dylib

Does anyone have any ideas? Also, my SBSettings isn't working entirely -- it crashes when selecting "More" (to customize it). And, Cydia won't run either (neither will BossPrefs) (though, Icy runs).

Suggestions???

Thanks.
 
You need to copy the "lockdown" folder.

Go to....C:\Documents and Settings\All Users\Application Data\Apple\
then copy the LOCKDOWN folder then go back to the direction
C:\Documents and Settings\username\Application Data\Apple Computer\
and paste it there. Then log in with the same username, ip and pass and it should work.
 
You need to copy the "lockdown" folder.

Go to....C:\Documents and Settings\All Users\Application Data\Apple\
then copy the LOCKDOWN folder then go back to the direction
C:\Documents and Settings\username\Application Data\Apple Computer\
and paste it there. Then log in with the same username, ip and pass and it should work.

I am using ssh from my Mac, not WinSCP or something else.

Also, this error is being thrown on the "server" (it was referenced from sshd which is running on the iPhone)?

There's something very screwy about the state of my iPhone I believe....
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.