The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Launches
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-02-2007, 02:30 AM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 2 Times in 1 Post
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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to CCB0x45 For This Useful Post:
JakeyBoy (08-02-2007), Picartman (12-13-2007)
  #2  
Old 08-02-2007, 08:18 AM
JakeyBoy's Avatar
My iPhone is a Part of Me
 
Join Date: Jun 2007
Posts: 505
Thanks: 44
Thanked 65 Times in 47 Posts

looks very nice definitly something to look into thanks for sharing.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 08-02-2007, 11:09 AM
JedixJarf's Avatar
Livin the iPhone Life
 
Join Date: Jun 2007
Device + Firmware: iPhone/8gb/1.1.4
Operating System: OS X Leopard
Posts: 1,662
Thanks: 17
Thanked 112 Times in 85 Posts
Send a message via Skype™ to JedixJarf

Freakin sweet man.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 08-02-2007, 01:59 PM
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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 08-05-2007, 10:05 PM
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.....
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 08-05-2007, 10:10 PM
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?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 08-05-2007, 10:56 PM
JedixJarf's Avatar
Livin the iPhone Life
 
Join Date: Jun 2007
Device + Firmware: iPhone/8gb/1.1.4
Operating System: OS X Leopard
Posts: 1,662
Thanks: 17
Thanked 112 Times in 85 Posts
Send a message via Skype™ to JedixJarf

Yep . Just follow the instructions.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 08-06-2007, 01:44 AM
arthursdomain's Avatar
Retired Moderator
 
Join Date: Jul 2007
Device + Firmware: iPhone 3g (white) 16gb 2.2.1 jailbroken (AT&T)
Operating System: Windows XP/Vista 32 & 64 bit
Location: Mililani, Hawaii
Posts: 872
Thanks: 12
Thanked 131 Times in 85 Posts
Send a message via AIM to arthursdomain

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?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 08-07-2007, 09:20 PM
dmbaird's Avatar
Green Apple
 
Join Date: Jul 2007
Device + Firmware: iPhone - 3.0 Beta 2
Operating System: Windows Vista
Location: Beaumont, California
Posts: 60
Thanks: 4
Thanked 6 Times in 6 Posts

how can i ssh out from iphone?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 08-07-2007, 10:03 PM
win1fight2's Avatar
Green Apple
 
Join Date: Jul 2007
Posts: 83
Thanks: 3
Thanked 7 Times in 7 Posts

can somebody explain how I can use this app? Looks so cool...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 08-08-2007, 12:44 AM
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 user@server.com"

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-08-2007 at 12:53 AM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to copland007 For This Useful Post:
Kyle Matthews (08-08-2007)
  #12  
Old 08-08-2007, 01:28 AM
Kyle Matthews's Avatar
Owner / Founder - ModMyi
aka poetic_folly
 
Join Date: May 2007
Device + Firmware: iPhone 3G[S] | 3.0 | Jailbroke
Operating System: OS X Leopard 10.6.2
Location: Tampa, FL. Used to be Seattle.
Posts: 8,385
Thanks: 298
Thanked 2,626 Times in 856 Posts
Send a message via AIM to Kyle Matthews

Awesome, copland. Great info.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 08-08-2007, 02:26 AM
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 username@myserver.com'

# 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 03:15 AM.. Reason: added /usr/sbin to PATH
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to copland007 For This Useful Post:
mercurious (08-11-2007)
  #14  
Old 08-08-2007, 02:55 AM
dmbaird's Avatar
Green Apple
 
Join Date: Jul 2007
Device + Firmware: iPhone - 3.0 Beta 2
Operating System: Windows Vista
Location: Beaumont, California
Posts: 60
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?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 08-08-2007, 03:39 AM
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
Mobile Terminal alpha version!-profile.png  
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Launches

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 03:18 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top