Thread: SSH Help
-
08-04-2010, 06:52 PM #1
SSH Help
It will not let me login in, it says "connection timed out" I have tried everything...

So I'm the only person in the world having this problem
Last edited by TheGuiltyPleasure; 08-04-2010 at 06:52 PM. Reason: Automerged Doublepost
-
08-04-2010, 09:27 PM #2Super Penguin Mod
- Join Date
- Jun 2009
- Location
- Ohio
- Posts
- 15,273
- Thanks
- 124
- Thanked 2,067 Times in 1,800 Posts
Your settings all correct and you entered the right password? Is OpenSSH on your phone turned on and are you connected to the internet on your computer?
-
The Following User Says Thank You to i.Annie For This Useful Post:
TheGuiltyPleasure (08-04-2010)
-
08-04-2010, 10:37 PM #3
-
08-04-2010, 10:51 PM #4My iPhone is a Part of Me
- Join Date
- Apr 2010
- Location
- The Event Horizon
- Posts
- 643
- Thanks
- 187
- Thanked 138 Times in 99 Posts
Go to Cydia, Download ToggleSSH and OpenSSH. Once you have done this, connect to your phone to your WiFi network and then connect your iPhone to your computer. Next, tap the ToggleSSH app on your springboard and hit enable. Then, open up your SSH program (WinSPC/CyberDuck), Make sure your using SSH protocol and using Port 22, then put in your IP address 198.xxx.x.x for the Server. Enter "root" for the user and "alpine" for the password (assuming you havent changed your password to something other than alpine) and then hit connect.


You see that "Thanks!" button? It likes it when you click it!
-
The Following User Says Thank You to Wilbourn For This Useful Post:
TheGuiltyPleasure (08-05-2010)
-
08-04-2010, 11:00 PM #5
Make sure you change your root and mobile passwords from the default. Very important.
-
08-04-2010, 11:04 PM #6What's Jailbreak?
- Join Date
- Aug 2009
- Location
- Houston, Galleria area
- Posts
- 23
- Thanks
- 0
- Thanked 0 Times in 0 Posts
to do this you type "passwd root" in the root shell
-
08-04-2010, 11:21 PM #7
First off, thank you for your help. I just tried and it didn't work...
When you say connect to my computer, just iTunes? When I hit enable for ToggleSSH it still sits in the screen enable or disable, is this suppose to happen? And for the protocol, SFTP or SCP?
I have tried getting the Cydia M something Terminal app to try it that way and the app will not open up on the springboard.
What do you mean by root shell? username?Last edited by TheGuiltyPleasure; 08-04-2010 at 11:22 PM. Reason: Automerged Doublepost
-
08-04-2010, 11:28 PM #8My iPhone is a Part of Me
- Join Date
- Apr 2010
- Location
- The Event Horizon
- Posts
- 643
- Thanks
- 187
- Thanked 138 Times in 99 Posts
Yes, when you hit Enable in ToggleSSH it will seem as thou nothing happened but it enabled SSH so once you hit Enable you can exit out of the app. And for protocol I was referring to SFTP, that is the one you need to make sure you use. As far as connect to your computer, I meant connect your iPhone to your computer via the data cable it came with, connect your iPhone to your WiFi network and then open your SSH program (if your using a Mac, use CyberDuck and if your using PC use WinSPC). Also, make sure your putting in your WiFi IP address in for the server.


You see that "Thanks!" button? It likes it when you click it!
-
The Following User Says Thank You to Wilbourn For This Useful Post:
TheGuiltyPleasure (08-04-2010)
-
08-04-2010, 11:40 PM #9
Thank you, I just tried it again and no luck. I have seriously tried everything it has to be something small. 3G is okay to be on right? Bluetooth off? Norton Commander or Explorer like? I clicked advanced options - connection - tunnel... and connect thru SSH tunnel was off, should it be on?
-
08-05-2010, 07:04 AM #10
What platform are you using? Mac/windows/linux?
-
08-05-2010, 09:26 AM #11
-
08-05-2010, 10:00 AM #12
so how do you change the username and password
-
08-05-2010, 10:08 AM #13Livin the iPhone Life
- Join Date
- Mar 2010
- Location
- Upstate NY
- Posts
- 1,435
- Thanks
- 67
- Thanked 254 Times in 245 Posts
Also if your using winscp in the drop down box where it says sftp switch that to scp.
How to change the root and mobile password:
How To: Change Your iPhone’s Default SSH Password | Cult of Mac
-
The Following User Says Thank You to jkmonkey For This Useful Post:
TheGuiltyPleasure (08-05-2010)
-
08-05-2010, 10:44 AM #14
Alright thx for the link. And after I'm done changing the password can I delete MobileTerminal.
-
08-05-2010, 12:19 PM #15Livin the iPhone Life
- Join Date
- Mar 2010
- Location
- Upstate NY
- Posts
- 1,435
- Thanks
- 67
- Thanked 254 Times in 245 Posts
If you want to you can. Or you can leave it there, just stick it in a folder for future use.
-
The Following User Says Thank You to jkmonkey For This Useful Post:
ChrisAMW (08-05-2010)
-
08-05-2010, 12:47 PM #16
Alright cool, thanks for the help.
-
08-05-2010, 01:08 PM #17
Yep, I have tried that as well. The one tutorial I was following told me to do it that way but all the youtube video say leave it on sftp. But yes, I have tried both and had no luck

I have also tried using mobileterminal to change my password and it will not open on my springboard.
-
08-05-2010, 01:15 PM #18Livin the iPhone Life
- Join Date
- Mar 2010
- Location
- Upstate NY
- Posts
- 1,435
- Thanks
- 67
- Thanked 254 Times in 245 Posts
Since you haven't been able to change the password yet, you are using alpine as the password when you try to ssh in right? Yeah the mobileterminal found in cydia doesn't work with ios4 yet. But there is an unofficial beta that does work 4.2.6. You can install it manually, of course you'd have to ba able to ssh to do that... Or you can get it through cydia if you add a certain X type repo.
-
The Following User Says Thank You to jkmonkey For This Useful Post:
TheGuiltyPleasure (08-05-2010)
-
08-05-2010, 02:01 PM #19
-
08-05-2010, 02:14 PM #20Livin the iPhone Life
- Join Date
- Mar 2010
- Location
- Upstate NY
- Posts
- 1,435
- Thanks
- 67
- Thanked 254 Times in 245 Posts
Oh well your almost there...at that point type in "passwd" it will then prompt you for a new password.
-
The Following User Says Thank You to jkmonkey For This Useful Post:
TheGuiltyPleasure (08-05-2010)



LinkBack URL
About LinkBacks
Reply With Quote



