How To SSH

 

SSH stands for Secure SHell.

It is just a protocol that allows you to access your iPhone or  iPod Touch from your desktop PC or MAC and execute commands on it (thus allowing you to copy any kind of data to and from the iPhone or  iPod Touch without iTunes). It’s also used for a lot of customization things if you know what you’re doing.

You can use a program like Cyberduck on MAC or WinSCP on Windows and you can browse your iPhone or iPod Touch  like any other hard drive and explore it’s content (which can be very interesting).

In this tutorial, I’m going to show you how to SSH into iPhone using WinSCP.

NOTE: This guide requires your iPhone/ iPod Touch to be connected to a wireless network.

In order to SSH into your iPhone you need to Jailbreak iPhone first. Use one of the guide to jailbreak iPhone:

How to SSH into iPhone using WinSCP

Step 1

Go to Cydia from your Springboard

ssh-iphone-ipod-winscp-(6)

Step 2

Go to Sections tab at the bottom of the screen.

ssh-iphone-ipod-winscp-(7)

Step 3

Under the Sections list, choose Networking.

ssh-iphone-ipod-winscp-(8)

Step 4

locate and Select OpenSSH from the list.

ssh-iphone-ipod-winscp-(9)

Step 5

Hit the Install button at the top right of the screen.

ssh-iphone-ipod-winscp-(11)

Step 6

Then hit the Confirm button

ssh-iphone-ipod-winscp-(12)

Step 7

After the installation is completed successfully, Press the big Return to Cydia button.

ssh-iphone-ipod-winscp-(14)

WARNING:

Now that you’ve installed OpenSSH now you’re vulnerable to external intruders with the default root password for SSH. Attacks on jailbroken iPhone with SSH installed with default password are increasing. So, we strongly recommend you to change your default root password used to SSH into iPhone before proceeding further. Follow the link below to change your SSH root password to Protect your iPhone/iPod Touch from intruders:

Change Root Password to Secure Your iPhone

Step 8

Now go back to Springboard by pressing the Home button.

Step 9

Now you need to obtain the IP Address of your iPhone or iPod Touch.

To obtain the IP address go to Settings.

ssh-iphone-ipod-winscp-(15)

Step 10

Under the Settings Menu, go to Wi-Fi.

ssh-iphone-ipod-winscp-(16)

Step 11

Make sure you’re connected to a wireless network. Press the Blue circled arrow button.

ssh-iphone-ipod-winscp-(17)

Step 12

There you will find your IP address. Please note that IP address.

ssh-iphone-ipod-winscp-(18)

Step 13

Make sure your PC is on the same wireless network that of your iPhone.

Download the WinSCP

Once you have downloaded, launch the WinSCP

ssh-iphone-ipod-winscp

Step 14

Once WinSCP is opened, enter the following detailes:

Host Name: IP Address of your iPhone/iPod

Username: root

Password: alpine

Now hit the Login button.

ATTENTION: On an iPhone 3GS, you will need to change the File Protocol to SCP. The default is most likely SFTP. Just select the arrow next to the option and select SCP.

ssh-iphone-ipod-winscp (1)

Step 15

WinSCP will start connecting to your iPhone.

ssh-iphone-ipod-winscp (2)

Step 16

If a Warning dialogue box appears, click Yes

ssh-iphone-ipod-winscp (3)

Step 17

Finally, after a few second you’ll be logged into your iPhone using WinSCP.

ssh-iphone-ipod-winscp (4)

Step 18

You can access all your iPhone folder from the right navigation pane. or use the drop down menu on the right side.

ssh-iphone-ipod-winscp (5)

Step 19

If you want to transfer a file from your PC to your iPhone, simply locate the file you want to copy from your PC using the left pane. Then navigate to the desired location on you iPhone using the right pane. Now to copy the file to your iPhone, just drag it from the left pane to the right pane.

Note: As user dlr stated, it is a good idea to set auto-lock to never. You can do this by going to Settings > General > Auto-Lock and set to never.

[via iphoneheat]

  • Antonio

    I’ve tried everything for installing Ibluenova & WinSCP on my iphone 4 and nothing works. The winscp has an error Network error connection refuse.

  • theiphonenerd

    yeah that tutorial was good before all this new and cool repos came out on cydia there is a much easier way just follow this instruction step by step.
    1- Open Cydia and let it load.
    2- Click on manage.
    3- Click on Source.
    4- Edit on the top right corner.
    5- Add on the top left corner.
    6- Right after htttp:// write cydia.xsellize.com and click add source and add anyway, and done.
    Now you should be able to see the xsellize source, click on xsellize and scroll down to iBluenova, and on the top right corner click install and confirm.

  • Francy

    Hello :] i have SSH already installed; & i use it for themes & such;
    but how do i transfer music into my iphone using SSH? Thanks<3

  • theiphonenerd

    Are you trying to put music from your pc to your iphone? If so try using itunes, or let me know : ) thanks