NOTE: This is only a Windows guide! Mac users have to use Cyberduck ( http://cyberduck.ch ) instead of WinSCP!
1) Install OpenSSH on your iPhone via Cydia:

2) download and install WinSCP: http://sourceforge.n...up.exe/download
3) Enable SSH on your iPhone via SBSettings: (It is also possible to enable SSH via BossPrefs!)
If you don't have the Toggle: Open SBSettings --> More --> Set Toggles and Enable the SSH Toggle
If you neither have SBSettings nor BossPrefs, SSH is always enabled!

4) Start WinSCP and click "New":

Host Name: Wi-Fi IP Address (check via SBSettings)
Port: 22
user name: root
password: alpine
File protocol: SCP (It's important to choose SCP unless you won't be able to open Terminal)
5) Click on "Login". The connection to your iPhone should be established. On the left you'll see the content of your PC and on the right the content of your iPhone:

6) Navigate to "/" on your iPhone by clicking on the dots (...)
Note: You should only see "/" in the red circle.
7) Go to /tmp/ folder and place the deb file which you want to install there. In this case, it's "stack.deb". Simply drag the file to the tmp folder.

8) We've got the deb file on our iPhone/iPod and now we only need to install the file. To do this press CTRL+T, Terminal should open:

9) Enter Command: dpkg -i /tmp/stack.deb
and press enter. The deb file is being installed.
The installation is usually done a few seconds after the message "Setting up......" appears.
10) Remove the deb file from the /tmp/ folder.
11) Respring/Reboot your iPhone/iPod and enjoy the installed app :D
Additional notes: (Thanks to carbonr !)
If you don't want to install the deb file via the WinSCP terminal you can also install it by using MobileTerminal on your iphone.
Search for "MobileTerminal" in cydia and install it. Follow steps 1-7 from above and then continue with these steps:
8) Start MobileTerminal
9) enter: su
10) enter: alpine
11) dpkg -i /tmp/stack.deb
12) delete the deb file
13) reboot/respring
NOTE: I just used the stack.deb file as an example. This method can be used with any deb file!
This post has been edited by bash0r: 10 February 2010 - 11:48 AM
Reason for edit: modified layout

Sign In »
Register Now!
Help



Back to top

Back to top














