You are Unregistered, please register to gain Full access.    

Go Back   SiNfuL iPhone > Discussion | Help > How-To: Guides / Tutorials > Misc

Notices

Misc Guides that are NOT device specific OR are related to all devices in general.

Reply
Thread Tools

 How to SSH into your phone with PuTTY
Unread 07-13-2009, 02:31 AM   #1
(-•SiNfulSS•-)

 
(-•SiNfulSS•-)'s Avatar
 
(-•SiNfulSS•-) is offline
Join Date: Jun 2009
Device: iPhone 5
iOS Version: 6.1.2
iTunes Version: iTunes 11
Carrier: AT&T
OS: Windows 7 x64
Location: 127.0.0.1
Posts: 7,176
Thanks: 1,676
Thanked 25,013 Times in 2,579 Posts
How to SSH into your phone with PuTTY

So if you get into iPhone/iPod hacking long enough there will most likely come a time when you will need to know how to SSH into your phone. Why would anyone need to do this? Well there are many reasons but for the average person you will probably one need to SSH into your phone to install a deb file (debian package), or to do something manually like run a command, install/uninstall a package etc.

Things you will need.
  • OpenSSH (Cydia)
  • PuTTY 0.60
  • Wireless router with a WiFi connection

Ok so first thing you will want to do is install OpenSSH onto your phone. Do this by going into Cydia > Sections > Networking > OpenSSH and installing.

After that make sure that your phone is connected to your WiFi network. We need to the IP Address that your router has assigned to your iPhone. Goto Settings > Wi-Fi and then you should see your network in the list. Tap on the blue right arrow that is next to your network.


Now on the next screen write down your iPhone's IP Address, then go ahead and press the home button on your phone to return to the home screen.


Now you can open up PuTTY. Now type in your iPhone's IP Address in the Host Name field. Make sure all your settings look like these.


After you got everything entered in correctly click on the Open button.

Now if this is your first time SSH'ing into your phone, it can take up to FIVE MINUTES before you will get a connection. So just be patient.

Next you will get a black window asking you for your login info. For the login type root and hit enter, and then type the Password alpine and hit enter.



That's it! 8)



If you lack enemies, you're not doing something worthwhile!
(-•SiNfulSS•-)

www.SiNfulSS.com
www.SiNfuLiPhone.com
www.SiNfuLiPhoneRepo.com
www.SiNfuLRacing.com
www.SiNfuLComputers.com
  Reply With Quote
The Following 15 Users Say Thank You to (-•SiNfulSS•-) For This Useful Post:
bicholas (12-29-2009), evascythe (06-25-2010), FREDRIK01 (10-23-2010), he-man (08-04-2010), jackalmania (02-27-2010), LONEWOLF (10-03-2009), meepark21 (10-30-2009), Mustanggt (12-13-2010), P7486w (07-26-2009), Pikachu (07-15-2009), Rizzocow (12-30-2010), SLEVIN (03-22-2010), souldoubt (06-13-2010), stillmohawk (01-18-2014), Yenyen (08-11-2009)

 
Unread 08-16-2009, 07:12 AM   #2
rossroel
n00b
 
rossroel is offline
Join Date: Aug 2009
Device: iPhone 3G
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Other
OS: Windows 7
Location: philippines
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
cant connect putty....network timed out.... help
  Reply With Quote

 
Unread 08-16-2009, 11:03 AM   #3
(-•SiNfulSS•-)

 
(-•SiNfulSS•-)'s Avatar
 
(-•SiNfulSS•-) is offline
Join Date: Jun 2009
Device: iPhone 5
iOS Version: 6.1.2
iTunes Version: iTunes 11
Carrier: AT&T
OS: Windows 7 x64
Location: 127.0.0.1
Posts: 7,176
Thanks: 1,676
Thanked 25,013 Times in 2,579 Posts
What gave you the error, PuTTY?



If you lack enemies, you're not doing something worthwhile!
(-•SiNfulSS•-)

www.SiNfulSS.com
www.SiNfuLiPhone.com
www.SiNfuLiPhoneRepo.com
www.SiNfuLRacing.com
www.SiNfuLComputers.com
  Reply With Quote

 
Unread 08-31-2009, 01:32 PM   #4
Owaiz
n00b
 
Owaiz is offline
Join Date: Aug 2009
Location: Il
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Not working for me either. I've downloaded everything and i tried several tutorials but still not working. I get this error
Network error: Connection timed out

I tried winSCP too and same error.

Ps: If this matters, The remote app doesnt work either.
Though i have iphone browser and that works fine.
  Reply With Quote

 
Unread 09-05-2009, 04:12 PM   #5
escaper
n00b
 
escaper is offline
Join Date: Sep 2009
Location: USA
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
it not work for me too , when I type commands 1 it start said command not found
  Reply With Quote

 
Unread 10-18-2009, 07:21 PM   #6
meenk
n00b
 
meenk is offline
Join Date: Oct 2009
Device: iPhone 4
iOS Version: 4.3
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: ca
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
this worked perfectly for me, thank you very much!
  Reply With Quote

 
Unread 10-18-2009, 08:04 PM   #7
HENESZZY
Obsessive iPhone Disorder
 
HENESZZY's Avatar
 
HENESZZY is offline
Join Date: Jul 2009
Device: iPhone 5
iOS Version: 6.1.2
iTunes Version: iTunes 10
Carrier: Sprint
OS: Windows 7 x64
Location: NY
Posts: 265
Thanks: 40
Thanked 61 Times in 40 Posts
You can also use I-Funbox; make sure if you updated to 3.1.2 and hacked w/ blackra1n that you download afc2add from cydia; geohott left that out which wont allow you to view the raw file system
  Reply With Quote

 
Unread 11-02-2009, 07:25 PM   #8
snowvail33
Jailbroken
 
snowvail33's Avatar
 
snowvail33 is offline
Join Date: Aug 2009
Device: iPhone 3GS
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Verizon
OS: Mac OS X
Location: South Dakota
Posts: 49
Thanks: 7
Thanked 0 Times in 0 Posts
Is there a Mac version?
  Reply With Quote

 
Unread 11-04-2009, 11:15 AM   #9
agentms
n00b
 
agentms is offline
Join Date: Oct 2009
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Vodafone
OS: Mac OS X
Location: here
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Cyberduck works fine 4 me, easy 2 use
  Reply With Quote

 
Unread 11-04-2009, 07:49 PM   #10
snowvail33
Jailbroken
 
snowvail33's Avatar
 
snowvail33 is offline
Join Date: Aug 2009
Device: iPhone 3GS
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Verizon
OS: Mac OS X
Location: South Dakota
Posts: 49
Thanks: 7
Thanked 0 Times in 0 Posts
How do I download Cyberduck??? Or where do I go???
  Reply With Quote

 Putty problem
Unread 11-09-2009, 11:36 AM   #11
jcaliber31
n00b
 
jcaliber31 is offline
Join Date: Nov 2009
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: ca
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Putty problem

I type root as the login, and when i hit enter it brings up password, but it wont let me type its just a green highlight. Anyone know wht the problem could be?
  Reply With Quote

 
Unread 11-18-2009, 06:02 AM   #12
Muscles74
n00b
 
Muscles74 is offline
Join Date: Nov 2009
Location: qld
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
don't work for me either. Anyone got an idea
  Reply With Quote

 
Unread 11-22-2009, 10:18 AM   #13
brucieB1
Jailbroken
 
brucieB1 is offline
Join Date: Nov 2009
Device: iPhone 4
iOS Version: 4.1
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: New York
Posts: 50
Thanks: 20
Thanked 1 Time in 1 Post
thanks putty is much easier than winscp
  Reply With Quote

 
Unread 01-03-2010, 06:20 PM   #14
Rosendo192000
Obsessive iPhone Disorder
 
Rosendo192000 is offline
Join Date: Dec 2009
Device: iPhone 5S
iOS Version: 7.0
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: CA
Posts: 533
Thanks: 139
Thanked 111 Times in 78 Posts
Quote:
Originally Posted by jcaliber31 View Post
I type root as the login, and when i hit enter it brings up password, but it wont let me type its just a green highlight. Anyone know wht the problem could be?


i got the same thing .. could anyone give me some pointers
  Reply With Quote

 
Unread 01-04-2010, 01:40 AM   #15
sunbilly1013
n00b
 
sunbilly1013 is offline
Join Date: Jan 2010
Location: France
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Rosendo192000 View Post
i got the same thing .. could anyone give me some pointers
That's what should happend!Just type in and enter!
  Reply With Quote

 
Unread 01-05-2010, 03:58 PM   #16
RachetSlayer
Jailbroken
 
RachetSlayer is offline
Join Date: Jan 2010
Location: Oregon
Posts: 29
Thanks: 1
Thanked 4 Times in 2 Posts
it says pre-authenticated password
  Reply With Quote

 
Unread 01-09-2010, 11:43 AM   #17
DjZillion
Jailbroken
 
DjZillion's Avatar
 
DjZillion is offline
Join Date: Jan 2010
Device: iPad
iOS Version: 7.0
iTunes Version: iTunes 11
Carrier: Other
OS: Windows 7 x64
Location: BE
Posts: 47
Thanks: 56
Thanked 4 Times in 4 Posts
work perfect
thanks
  Reply With Quote

 
Unread 02-13-2010, 09:45 AM   #18
monstersti
n00b
 
monstersti is offline
Join Date: Feb 2010
Location: mi
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
i cant type password in...
  Reply With Quote

 
Unread 02-18-2010, 11:02 AM   #19
nyoon
n00b
 
nyoon is offline
Join Date: Feb 2010
Location: va
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
hopefully this can work
  Reply With Quote

 
Unread 02-25-2010, 05:44 AM   #20
bigmike9984
n00b
 
bigmike9984 is offline
Join Date: Feb 2010
Device: iPhone 3G
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows XP
Location: Virginia
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
After I typed the password in it asked me for a root# can somebody help me with this
  Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On




All times are GMT -7. The time now is 11:01 AM.

Copyright © 2009 ––––•(SiNfulSS)•–––- Shot Caller @ SiNfuL iPhone