How to run comman in SSH - Please HELP!

Discussion in 'iOS Jailbreak & Cydia' started by toshiyo, Dec 29, 2007.

  1. toshiyo

    toshiyo New Member

    Joined:
    Dec 26, 2007
    Messages:
    10
    Likes Received:
    0
    Sorry for such newbie question but I searched and couldn't find the answer.

    I'm trying to get a screenshot of my iphone but I am lost after I placed the screenshot file into application directory. Specifically, I don't know what it means by "So, open an SSH run a CHMOD to correct the permissions" AND "Lastly, run the command in SSH:"

    Can someone show me using screenshots? Or any help is appreciated!!

    Please see the instruction below.
    ____________
    Guide: Screenshots on the iPod Touch

    Alright, I figured this would be a worthy little tip since it's not included in Installer.app. Note: This will not show up on springboard.

    First off, download this file: http://shouldbefree.net/upload/screenshot
    Zipped version if above doesn't work: http://shouldbefree.net/upload/screenshot.zip

    Next, SFTP to your iPod, place it in the /Applications directory, as usual.

    This tool can only be ran via an SSH to your iPod. So, open an SSH run a CHMOD to correct the permissions:

    Code:
    chmod -R a+x /Applications/*

    Lastly, run the command in SSH:

    Code:
    /Applications/screenshotGo retrieve the file at the location it specified on your iPod when it executed.
  2. toshiyo

    toshiyo New Member

    Joined:
    Dec 26, 2007
    Messages:
    10
    Likes Received:
    0
    BTW, I'm using CuteFTP pro. Is this the issue?
  3. in/flux

    in/flux New Member

    Joined:
    Dec 15, 2007
    Messages:
    83
    Likes Received:
    2
    1. Download PuTTY http://www.chiark.greenend.org.uk/~sgtatham/putty/
    2. use the same IP as you used in CuteFTP, and the same username/password.
    3. type in:
    chmod -R a+x /Applications/*
    and hit enter
    4. type in
    /Applications/screenshotGo
    and hit enter

    (this might not work if you named your screenshot app "screenshot" in which case you want to type in /Applications/screenshot instead.)

    5. It'll drop it in /tmp as foo_0.png if I remember correctly.
    6. Use CuteFTP to navigate to the /tmp folder, and download foo_0.png to your desktop.

    Enjoy.
  4. toshiyo

    toshiyo New Member

    Joined:
    Dec 26, 2007
    Messages:
    10
    Likes Received:
    0
    Cool!

    Hey in/flux,

    You rock, it worked!! (first few times didn't work b/c I forgot to change permission to 755) Thank you so much for being so kind to a newbie like me. Here's my screenshot

    Please Register or Log in to view images



    I am wondering, is there a easier way? Or do I have to type this command everytime I want to take a screenshot?

    If anyone know, please let me konw.

    Thanks again in/flux.

    Attached Files:

Share This Page