1. pesqair's Avatar
    Does anyone know how or if it is possible to SSH into an iPhone via its 3G/EDGE connection? (Not having it on the same WLAN as the computer) I am trying to find a way to start the GPS Tracker app from afar.

    Thanks
    2008-11-21 04:09 AM
  2. cricketlang's Avatar
    the only way i could think that would POSSIBLY work would be if you get the data ip address and try logging in using that instead of the wifi ip address. you could give that a shot and see if it works. i dont know though. ive never tried myself. let me know if it works
    The beatings will continue until morale improves.
    2008-11-21 04:11 AM
  3. pesqair's Avatar
    it doesn't seem to work...

    Macintosh:~ macuser$ ssh 166.193.23.197
    ssh: connect to host 166.193.23.197 port 22: Operation timed out
    2008-11-21 04:17 AM
  4. cricketlang's Avatar
    sorry dude.... i dont know what to tell you. maybe one else knows something i dont
    The beatings will continue until morale improves.
    2008-11-21 04:35 AM
  5. cpjr's Avatar
    It wont work because the secure shell protocol in OpenSSH doesnt support it.
    2008-11-21 05:07 AM
  6. cricketlang's Avatar
    nice to know cpjr. hey not to jack ANOTHER thread but a user was asking whether or not the sidekick plan would work on the iphone earlier....do you know anything about this. i now a different user confirmed its possible but didnt tell us how????
    The beatings will continue until morale improves.
    2008-11-21 05:11 AM
  7. cpjr's Avatar
    The Sidekick plan is only for sidekicks because it loops through Danger's servers for data compression, access to your Sidekick account, etc.

    No, it wont work....it would be like trying to use a Blackberry data plan on your iphone.
    2008-11-21 05:17 AM
  8. pesqair's Avatar
    so there is no way?

    thanks
    2008-11-21 05:19 AM
  9. Zwayne's Avatar
    Does anyone know how or if it is possible to SSH into an iPhone via its 3G/EDGE connection? (Not having it on the same WLAN as the computer) I am trying to find a way to start the GPS Tracker app from afar.

    Thanks
    Here is a guide if you would like to ssh into the iphone without wifi. iphone3G-Mods.com: Guide - SSH to your Iphone via USB
    2008-11-21 05:19 AM
  10. cpjr's Avatar
    No way to SSH without a usb connection.

    ^^But yeah, I use iphone_tunnel all the time to SSH without wifi.
    2008-11-21 05:26 AM
  11. cricketlang's Avatar
    Here is a guide if you would like to ssh into the iphone without wifi. iphone3G-Mods.com: Guide - SSH to your Iphone via USB
    if you read what he wants to do that wouldnt really help
    The beatings will continue until morale improves.
    2008-11-21 05:26 AM
  12. Zwayne's Avatar
    Yep didn't see the GPS tracker part.....LOL my bad.
    2008-11-21 05:46 AM
  13. michaelwithe21's Avatar
    I AM THE FIRST TO FIGURE THIS OUT!! i think... =P

    I have alot of experience with SSH and unix... and i found a way for this work... please let me know if anyone els has already claimed responsibility...

    Set up an SSH server on your mac/pc, forward the port you used for SSH (default 22, but you should change it to something els for security reasons and reverse tunnel reasons) or put your IP into DMZ mode... once this is tested and completed, jailbreak your iphone and download Mobile Terminal.app, use it to enter this:

    login root
    (TYPE IN alpine FOR PASSWORD, change with passwd command later)

    Once you are logged into root on the iphone enter the following without the ()'s to make a reverse connection to your home computer, the Username = your Home computer user account name, you must use a \ and a space to create a space between the user name, the IPaddress=home computer IP:

    ssh -p (SSH PORT) User\ [email protected] -R 1201:localhost:22

    This command will send the SSH server to your computer via localhost on port 1201 (you can change that to anything not being used).

    so go onto your home computer and enter this into terminal:

    ssh -p 1201 [email protected]

    and bam, your in... amazing... this can be used for VEENCY as well to fully control your iphone no matter where it is or who has it... genius...

    you can also do this using "mobile" as the user instead of "root", both passwords can be changed from "alpine" to anything you want via the passwd command.. if you need any help, just email me at [email protected]
    2009-07-07 07:39 AM
  14. pesqair's Avatar
    yes that works, but only if you have your iphone with you at the time. does anyone know of any other way to do this?
    2010-04-17 10:45 PM
  15. michaelwithe21's Avatar
    You can control your iphone by forwarding veencys 5900 port (or watever server u want) using your home computer, the script is put on the phone ONCE, once its on, it will activate no matter where the phone goes or who has it... see:

    http://modmyi.com/forums/iphone-ipod...e-ssh-vnc.html

    then use this script to use in startup of iPhone:

    Tip: Connect to your iPhone using VNC and SSH llemarie’s weblog
    2010-04-29 09:53 PM
  16. brokentwice's Avatar
    has anyone gotten this to work where it loads on start up and autossh keeps trying to connect to the Server?

    I cant seem to get this to work when using autossh from the script in the link ..

    only way is if I use the phone to Login to terminal and sign on to the server manually..

    I just Want it to keep trying to connect to my server and launch on start up ... With no password needed to login to ssh >>
    2012-08-08 02:44 AM
LINK TO POST COPIED TO CLIPBOARD