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

macperry

macrumors newbie
Original poster
Nov 21, 2008
1
0
I spent the last 3 days learning all I could about jailbreaking my pristine new 3G. I decided to use pwnage 2.1 to jailbreak my 3G running ver2.1 of Apples firmware. The jailbreak went great, just REMEMBER to OPTION CLICK on the RESTORE button in iTunes at the very end of the process. I can now run NetShare and use the phone as a wireless modem. Unreal...just think of all the possibilities! Anyway, I can now load ANY program I want on the phone AND I figured out how to do it right from iTunes!!! Now the part I need HELP with: I CAN NOT ssh into the freakin phone! I can do anything else, but no ssh for me

I know the network is working (a whole other learning process...ask me) because I can surf and download with no problem. When I use Terminal to ssh into the phone, this is what I get:

Last login: Fri Nov 21 17:44:01 on ttys000
mobile-166-217-042-032:~ macperry$ ssh root@192.168.10.1
root@192.168.10.1's password:
localhost:~ root#


I enter the correct password (alpine) and then I get the above. I have no earthly idea what the correct response is for that prompt

Can ANYONE PLEASE tell me what to do to ssh into my phone???

Thanks in advance...macperry

This is supposedly the most active iphone forum on the net.....nobody has an answer?:cool:
 
You posted in the wrong section, what are you using to ssh? I use WinSCP and it works great.
 
I enter the correct password (alpine) and then I get the above. I have no earthly idea what the correct response is for that prompt

Can ANYONE PLEASE tell me what to do to ssh into my phone???
I don't think you understand what SSH is (you might want to google it!), but if you're expecting some kind of magic to happen at this point, you need to read up some more.

I'm assuming you're using OS X's Terminal app, so the "root#" you get after typing in the alpine password and pressing the Enter/Return key (note that when entering the password, it will not show in Terminal) does mean that you are successfully logged into your iPhone* as root and at the root level. YES, you have SSH'ed into your phone. It's not a prompt awaiting a response, it's a prompt awaiting a command... any command you wish for whatever you're trying to achieve. If you're lost at this point and have no idea of what to do, I'd recommend staying away from Terminal until you've learnt more.

If what you're trying to achieve is move some files around and/or apply special permissions to files, use a FTP app that supports SSH and has a graphical user interface (Transmit for instance) to make the process all easier.

Hope this helps.

* as long as that is your iPhone's IP.
 
I spent the last 3 days learning all I could about jailbreaking my pristine new 3G.
Last login: Fri Nov 21 17:44:01 on ttys000
mobile-166-217-042-032:~ macperry$ ssh root@192.168.10.1
root@192.168.10.1's password:
localhost:~ root#


QUOTE]

Obviously you didnt or else you would know how to SSH into it! =P

Download WinSCP and type in your iPhone's IP and use root as user name and alpine as password. Its that simple. Make sure your comp and iphone is on the same network
 
as a Linux sys admin, I'm LMAO here.

Let me put this in clear english for you. You've got ssh working, and you logged in. That's what SSH is, it gives you a shell. So you've got your shell, you just need to do something now. Like cd to some directory, ls it's contents, or mkdir another directory, or lots of other things.

In short, you've got it all right, and done, now you just need to do whatever it is you are expecting to do.
 
Here's the easiest way (I am assuming you are using OS X)-

Download & install Cyberduck - http://tr.im/1eet
Go to the airport button
Select create network
Name it whatever you like, and leave it on channel 11

On your iPhone
Install a package called OpenSSH from Cydia
Go to settings, and under general, set auto-lock to never
Go to Wi-Fi, and select the network you just made
Click the blue button next to the name
Start anew connection in Cyber-Duck
Enter the IP address you see there into the new connection window
Select SFTP under the protocol tab of the window
In the Username field, type admin
Under the password field, type alpine
under the port field, type 22
make sure neither anonymous login or add to keychain are checked
press connect
under the directory menu select /
And you're in!:D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.