+ Reply
Page 1 of 2 12 LastLast
Results 1 to 20 of 40

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Mobile Terminal alpha version!

is a discussion within the

Native iPhone / iPod Touch App Launches

forums, a part of the

3rd Party Apps For iPhone | iPod Touch

section;
Hey, we have a full MobileTerminal GUI app for the iPhone for those of you with the unix binaries on there, it wraps them, you can use ssh, etc straight
...
  1. #1
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    1
    Thanks
    0
    Thanked 2 Times in 1 Post
    Default Mobile Terminal alpha version!
    Hey, we have a full MobileTerminal GUI app for the iPhone for those of you with the unix binaries on there, it wraps them, you can use ssh, etc straight from your phone...
    check it out at
    http://mobileterminal.googlecode.com

    help us out on irc.osx86.hu in #iphone-uikit
    -CCB

  2. The Following 2 Users Say Thank You to CCB0x45 For This Useful Post:

    JakeyBoy (08-02-2007), Picartman (12-13-2007)

  3. #2
    My iPhone is a Part of Me JakeyBoy's Avatar
    Join Date
    Jun 2007
    Posts
    501
    Thanks
    45
    Thanked 66 Times in 48 Posts

    looks very nice definitly something to look into thanks for sharing.
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Old School Gaming Matrix
    Deviant Art
    "Don't think you can, know you can"




  4. #3
    Livin the iPhone Life JedixJarf's Avatar
    Join Date
    Jun 2007
    Posts
    1,917
    Thanks
    30
    Thanked 129 Times in 102 Posts

    Freakin sweet man.

  5. #4
    Green Apple
    Join Date
    Jul 2007
    Posts
    47
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Nice! Now I have a reason to get those ssh binaries on the phone, these 2 together = ssh out on the iphone. I know what I'll be doing tonight

  6. #5
    Green Apple
    Join Date
    Jul 2007
    Posts
    58
    Thanks
    0
    Thanked 2 Times in 2 Posts

    i'm getting a tcp error when i try that.....

  7. #6
    iPhone? More like MyPhone
    Join Date
    Jul 2007
    Posts
    132
    Thanks
    6
    Thanked 7 Times in 7 Posts

    Anyone have this working using Windows machine?

  8. #7
    Livin the iPhone Life JedixJarf's Avatar
    Join Date
    Jun 2007
    Posts
    1,917
    Thanks
    30
    Thanked 129 Times in 102 Posts

    Yep . Just follow the instructions.

  9. #8
    Retired Moderator arthursdomain's Avatar
    Join Date
    Jul 2007
    Location
    Mililani, Hawaii
    Posts
    850
    Thanks
    12
    Thanked 135 Times in 85 Posts

    I downloaded an copied over the files for the ssh binkit 06 , i was wondering if anyone got ping to work. when i type ping in, it acts like the program doesnt exist. Also someone mentioned SSH out? can anyone confirm this?
    ARTHURSDOMAIN
    ModMyI.com Apps Reviewer

    Retired ModMyi.com Moderator

    Follow me on twitter: twitter.com/laynem

    Reviewed Apps:
    Oregon Trail, Who Has The Biggest Brain, Lock Puzzle, Tweetie

    Want an app reviewed? PM me with the app name

  10. #9
    Green Apple dmbaird's Avatar
    Join Date
    Jul 2007
    Location
    Palm Springs, California
    Posts
    55
    Thanks
    4
    Thanked 6 Times in 6 Posts

    how can i ssh out from iphone?

  11. #10
    Green Apple win1fight2's Avatar
    Join Date
    Jul 2007
    Posts
    89
    Thanks
    3
    Thanked 7 Times in 7 Posts

    can somebody explain how I can use this app? Looks so cool...

  12. #11
    Green Apple
    Join Date
    Jul 2007
    Posts
    47
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Oh yes, ssh out from the iphone is confirmed working by me

    It isn't perfect, but what a leap forward, three cheers for all the developers/modders out there putting all their effort into this!

    A quick run down of what I did to get it setup...

    1. Of course jailbreak first and foremost...

    2. Get ssh onto the phone: http://cre.ations.net/blog/post/howt...on-your-iphone

    The script tries to copy your iTunesMobileDevice.dll into the working directory, and it comes with its own iphoneinterface.exe. I was getting errors trying to use those versions, to fix I copied my old (from iphone v1.0.0) iTunesMobileDevice.dll, and my existing working iphoneinterface.exe into the sshkit directory. Problems went away and I was off and running.

    Once those errors were resolved this was very easy to do since I'm using windows. If you are on a mac and know how to read a batch file, just open it up and do all the steps manually, will take a little time but there's nothing there that requires a windows box (I think there's a mac version of that easy install somewhere, just don't have the link handy).

    3. Install Terminal.app: http://code.google.com/p/mobileterminal/

    Again very easy, just follow their instructions.

    4. Install ssh2: http://iphone.natetrue.com/ssh_3.2.9...o_acorn.tar.gz

    I only copied the client binaries onto my phone (nothing with 'd' in the filename, i.e. 'sshd2', those are the server binaries).

    Follow the instructions in the README.

    5. Anything you've uploaded to the phone that you need to execute you'll need to "chmod +x" the binary, i.e. "chmod +x ssh2".

    6. Reboot iphone, a pretty new 'Terminal' application is on the home screen, open it up, then ssh out like you would from any *nix box "ssh2 [email protected]"

    Awesome!

    Quote Originally Posted by arthursdomain View Post
    I downloaded an copied over the files for the ssh binkit 06 , i was wondering if anyone got ping to work. when i type ping in, it acts like the program doesnt exist. Also someone mentioned SSH out? can anyone confirm this?
    Probably just not in your $PATH, give the explicit path to where you uploaded ping, for me "/sbin/ping server.com" works.
    Last edited by copland007; 08-07-2007 at 11:53 PM. Reason: Automerged Doublepost

  13. The Following User Says Thank You to copland007 For This Useful Post:

    Kyle Matthews (08-08-2007)

  14. #12
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,473
    Thanks
    568
    Thanked 4,797 Times in 1,222 Posts

    Awesome, copland. Great info.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  15. #13
    Green Apple
    Join Date
    Jul 2007
    Posts
    47
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Here's a hint to help those looking to create shortcuts for common things...

    Upload/create the file /var/root/.profile with these contents:
    Code:
    # Aliases
    alias pico='pico -w'
    alias rm='rm -i'
    alias ssh='ssh2'
    alias myssh='ssh2 [email protected]'
    
    # User specific environment
    PATH=$PATH:/sbin:/usr/sbin
    TERM=vt100
    
    export PATH TERM
    This assumes you have uploaded vt100 for using fullscreen goodies like pico. If you haven't got vt100 on your iphone remove the TERM line and remove 'TERM' from the end of the 'export' line.

    If you are a *nix user no explanation is needed, you know what that file does and why... for those who don't read on:

    The .profile file will get 'sourced' when you login/start a 'sh' shell. By default the preferred shell for the root user is '/bin/sh'. If you want to use this file for a different shell you need to rename and possibly change the contents, all depends on the shell. For bash shells just change the filename to .bash_profile, the same content works for both /bin/sh and /bin/bash.

    These profile files let you configure your environment the way you like. I've included some sample common settings that you can remove or alter to your liking. Here's what each line does:

    The aliases are shortcuts, typing the first part of the alias will execute what's in the quotes.

    The pico alias will execute pico with the '-w' flag, prevents long lines from wrapping.

    The rm alias will execute rm with the '-i' flag, prompts you to confirm everything you try to delete (you can override this by doing rm -f).

    The ssh alias is just for those who don't want to type ssh2.

    The myssh is an example for you to setup a shorter way of ssh'ing into a common host with a username so you don't have to type/touch it all out everytime on the iphone.

    "PATH=$PATH:/sbin" -> This guy adds directories to be searched when you type a command to execute. You can add more paths by adding ":/path/to/add" to the end of that line.

    "TERM=vt100" -> If you want to use full screen goodies like pico on the iphone you need to install vt100, and you need to set the TERM environment variable to be 'vt100'. That's what this line is doing. If you don't have vt100 installed remove or comment this line!

    The final 'export' command injects the specified variables into your environment, in this case our updated 'PATH' and 'TERM' will get injected into our environment.

    Enjoy!
    Last edited by copland007; 08-08-2007 at 02:15 AM. Reason: added /usr/sbin to PATH

  16. The Following User Says Thank You to copland007 For This Useful Post:

    mercurious (08-11-2007)

  17. #14
    Green Apple dmbaird's Avatar
    Join Date
    Jul 2007
    Location
    Palm Springs, California
    Posts
    55
    Thanks
    4
    Thanked 6 Times in 6 Posts

    copland
    I tried doing the .profile file (I'm familiar with a unix base)
    But I was unable to get it to take. Did I miss something?

  18. #15
    Green Apple
    Join Date
    Jul 2007
    Posts
    47
    Thanks
    0
    Thanked 3 Times in 3 Posts

    If you have 'printenv' and 'alias' available they can help troubleshooting to see if your .profile changes take affect. Open up the terminal app and execute 'alias', it should return the list of all currently defined aliases.

    Executing 'printenv' should show any changes to anything that is 'exported' from your .profile, like the updated PATH and TERM settings.

    Should look something like the attached screenshot...
    Attached Thumbnails Attached Thumbnails Mobile Terminal alpha version!-profile.png  

  19. #16
    Green Apple
    Join Date
    Jul 2007
    Posts
    47
    Thanks
    0
    Thanked 3 Times in 3 Posts

    I should also make note that I am using Terminal v85 if that makes a difference, it's possible earlier versions don't behave the same way.

  20. #17
    Green Apple dmbaird's Avatar
    Join Date
    Jul 2007
    Location
    Palm Springs, California
    Posts
    55
    Thanks
    4
    Thanked 6 Times in 6 Posts

    I'm still having an issue. For some reason it wont take the aliases. I'm using v85. I put the file in the right location. But it's just not working.
    IDK if this helps, but I'm unable to execute the file. I get "permission denied". Even after chmod 777.
    So out of curiosity I made another file in the same location. With just one alias string in it. But that two gets permission denied. Am I missing a step somewhere?

  21. #18
    Green Apple
    Join Date
    Jul 2007
    Posts
    47
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Permissions only need to be 600, .profile isn't executed, it's sourced. To force it to re-source execute this "source .profile"

  22. #19
    Green Apple dmbaird's Avatar
    Join Date
    Jul 2007
    Location
    Palm Springs, California
    Posts
    55
    Thanks
    4
    Thanked 6 Times in 6 Posts

    oh ok.
    hmm when I re-source it, It works great.
    So you're saying it isn't being sourced correctly in the first place?

  23. #20
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    What enhancements do you get with installing ssh2 instead of the regular ssh?

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts