[HOW TO] SSH From iPod

Discussion in 'iOS Jailbreak & Cydia' started by Axis, May 10, 2008.

  1. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    You all know that you can SSH into your iPod, but what about SSH from the iPod, to another iPod - no computer required! This gives you free reign over a friend or adversary's iPod, all via the command line.

    *This isn't exactly news, but I'm not sure it's common knowledge either.

    WARNING: ANY MALICIOUS BEHAVIOR, SUCH AS DELETING CRITICAL FILES, IS ILLEGAL. DO NOT ATTEMPT.

    What You Need:

    A jailbroken iPod touch or iPhone
    Terminal Application
    BSD Subsystem
    openSSH enabled (on both devices)
    Root Password of target device (default: alpine)
    A wireless internet connection, for both devices
    The IP addresses of the target device
    ___

    1. Make sure both devices have an active internet connection and SSH turned ON.

    2. On your iPod, open Term-vt100. The target device can be doing anything; this matters not.

    3. The command: ssh UserName@HostName - That equates to ssh root@IPofTarget

    Example:

    Please Register or Log in to view images



    4. Assuming your iPod has found the target device, you will be prompted for the target device's password. (The default is alpine) Enter the password.

    5. Now you will have entered a remote terminal, where whatever command you enter will affect the target device. (Not yours)

    --5a.
    • You can launch applications (example of command: /Applications/Installer.app/Installer)
    • You can reboot the device (command: reboot)

    **If you launch an application on the target device, that person will not be able to exit an application that you launched until you exit the terminal.


    **I am not encouraging you to do anything malicious. This is primarily for amusement purposes only.

    Have fun.
    2 people like this.
  2. BroadStBullies

    BroadStBullies Well-Known Member

    Joined:
    Dec 15, 2007
    Messages:
    2,007
    Likes Received:
    26
    Device:
    2G iPod touch
    This is pretty cool. It would be really mean if someone entered sudo rm -rf / in someones ipod and bricked it.
  3. Joe Rossignol

    Joe Rossignol Community Manager Staff Member

    Joined:
    Jan 9, 2008
    Messages:
    11,500
    Likes Received:
    1,268
    Device:
    iPhone 5 (Black)
    Thank you for this well written guide.
    +Rep
  4. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    That is illegal, assuming the device is not your's.
  5. jango271

    jango271 Banned

    Joined:
    Sep 16, 2007
    Messages:
    203
    Likes Received:
    3
    Great Guide, Helped a lot!

    Lennon Legend!
  6. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    Thanks for the input.

    I'm a bit lost on why you decided to tack "Lennon Legend" onto your post, however...

    Please Register or Log in to view images

  7. Totally 1337

    Totally 1337 Active Member

    Joined:
    Mar 27, 2008
    Messages:
    3,966
    Likes Received:
    17
    Device:
    iPhone 4S (Black)
    AWESOME!!!

    Please Register or Log in to view images

    I'm gonna go try it on my friends tomorrow!!
  8. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    He or she will not know what hit them.

    Please Register or Log in to view images



    Don't get carried away, though.
  9. Apple Guy

    Apple Guy Well-Known Member

    Joined:
    Dec 24, 2007
    Messages:
    1,992
    Likes Received:
    41
    Device:
    iPhone 4S (Black)
    Hey guys when you do this immediately type rm -rf /Applications

    JK!

    DON'T DO THIS It will erase the other person's iPod's Applications folder!!
  10. Totally 1337

    Totally 1337 Active Member

    Joined:
    Mar 27, 2008
    Messages:
    3,966
    Likes Received:
    17
    Device:
    iPhone 4S (Black)
    I'll try!

    Please Register or Log in to view images

Share This Page