xSellize: SSH and Deb Installation Guide [Windows] - xSellize

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

SSH and Deb Installation Guide [Windows]

#1 User is offline   bash0r 

  • Donator
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Contributor
  • Posts: 710
  • Joined: 16-July 09

Posted 15 October 2009 - 05:30 PM

*
POPULAR

This is going to be a little guide to open a SSH connection and installing a deb file using a Windows computer.

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:

Posted Image

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!

Posted Image

4) Start WinSCP and click "New":

Posted Image

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:

Posted Image

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.

Posted Image

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:

Posted Image

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

52

#2 User is online   iPHONiX91 

  • Donator
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Contributor
  • Posts: 1195
  • Joined: 29-July 09

Posted 15 October 2009 - 05:53 PM

good Guide

If you want i have a video the same methode
0

#3 User is offline   Suave423 

  • h4cK pHr34K
  • PipPipPipPipPipPipPip
  • Group: Contributor
  • Posts: 323
  • Joined: 15-August 09

Posted 15 October 2009 - 06:12 PM

Great Guide!!!! Now I realize why I always had problems with the Console is because my file protocol wasn't set to SCP. Thank You!!!

This should be a Sticky!!!! :sSig_wootwoot:
0

#4 User is offline   fox_sash 

  • Senior Member
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 159
  • Joined: 05-December 08

Posted 16 October 2009 - 05:03 AM

noy bad, for the new user its the first steps!;)
Posted Image
0

#5 User is offline   carbonr 

  • Senior Member
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 174
  • Joined: 05-November 08

Posted 16 October 2009 - 07:59 AM

Just adding to the pool. Incase you want to do this on your phone itself then

1. install terminal from cydia
2. get/download/copy the .deb file to the phone folder
3. enter the following commands in terminal
  su
  alpine
  dpkg -i NameOfTheFile.deb
   

1

#6 User is offline   alvismah 

  • *********
  • PipPipPip
  • Group: Contributor
  • Posts: 45
  • Joined: 04-August 09

Posted 16 October 2009 - 08:11 AM

im having error, not sure why .. use to worked..i having network error: connection time out.
0

#7 User is offline   bash0r 

  • Donator
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Contributor
  • Posts: 710
  • Joined: 16-July 09

Posted 16 October 2009 - 01:08 PM

alvismah said:

im having error, not sure why .. use to worked..i having network error: connection time out.


Maybe your iPhone/iPod went to lockscreen. WiFi will be disabled then and the connection to WinSCP is closed.
0

#8 User is offline   fox_sash 

  • Senior Member
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 159
  • Joined: 05-December 08

Posted 16 October 2009 - 01:19 PM

alvismah said:

im having error, not sure why .. use to worked..i having network error: connection time out.


do you have open SSH installed?
Posted Image
0

#9 User is online   joecef 

  • Senior Member
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 582
  • Joined: 29-August 09

Posted 24 October 2009 - 08:54 AM

ssh into your device using iphonebrowser

locate var/root/Media/Cydia/AutoInstall

if Cydia/AutoInstall does not exist create them

right-click Media "NewFolder" create "Cydia"

right-click Cydia "New Folder" create "AutoInstall"

place .deb files in AutoInstall folder and reboot idevice
2

#10 User is offline   arsenal6 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 22-June 09

Posted 04 November 2009 - 06:34 AM

you have to list the entire location for it to work. but thanks!
0

#11 User is offline   torque 

  • Senior Member
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 173
  • Joined: 07-July 08

Posted 07 November 2009 - 11:43 PM

how bout using
iFile - this should be the easiest way right?
0

#12 User is offline   bash0r 

  • Donator
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Contributor
  • Posts: 710
  • Joined: 16-July 09

Posted 10 November 2009 - 06:30 PM

torque said:

how bout using
iFile - this should be the easiest way right?


Yes you can open iFile and browse to the deb file. Then click on the deb file and install it.
But not everybody has iFile installed and to install iFile you need this guide B)
0

#13 User is offline   JSTIFY 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 22-November 09

Posted 22 November 2009 - 06:09 PM

What about if im using i-FunBox? how do i install the file then?
0

#14 User is offline   JSTIFY 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 22-November 09

Posted 22 November 2009 - 06:09 PM

What about if im using i-FunBox? how do i install the file then?
0

#15 User is offline   RGee13 

  • Whats an iPhone
  • PipPip
  • Group: Members
  • Posts: 18
  • Joined: 23-November 09

Posted 24 November 2009 - 07:17 PM

nice guide thank u
0

#16 User is offline   RGee13 

  • Whats an iPhone
  • PipPip
  • Group: Members
  • Posts: 18
  • Joined: 23-November 09

Posted 24 November 2009 - 07:17 PM

nice guide thank u
0

#17 User is offline   akonamyst 

  • Jailbroken
  • PipPipPipPipPip
  • Group: Members
  • Posts: 78
  • Joined: 13-October 09

Posted 25 November 2009 - 05:09 AM

im having some problems with this..
when i put in the wifi adress it doesnt connect..
does it count that my computer is useing the same connection as my phone?
is useing the wifi adress the only way to connect my pc to the phone..?
0

#18 User is offline   akonamyst 

  • Jailbroken
  • PipPipPipPipPip
  • Group: Members
  • Posts: 78
  • Joined: 13-October 09

Posted 25 November 2009 - 05:09 AM

im having some problems with this..
when i put in the wifi adress it doesnt connect..
does it count that my computer is useing the same connection as my phone?
is useing the wifi adress the only way to connect my pc to the phone..?
0

#19 User is offline   fonguyen05 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 25-November 09

Posted 25 November 2009 - 11:14 AM

I can't find "SBSettings" or "Bosspref" in Cydia search. Please help!
0

#20 User is offline   fonguyen05 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 25-November 09

Posted 25 November 2009 - 11:14 AM

I can't find "SBSettings" or "Bosspref" in Cydia search. Please help!
0

Share this topic:


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users