Results 1 to 7 of 7
Discuss SSH FROM the iPhone?.. at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; I'm going back to college this fall and I'm planning to use my iPhone to ...
  1. #1
    ANB
    ANB is offline
    Advanced Array

    Join Date
    Jul 2007
    Posts
    42
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default SSH FROM the iPhone?..

    I'm going back to college this fall and I'm planning to use my iPhone to surf through the campus wi-fi. However, at our school the authenthication process is set up in such a way that you have to ssh into a certain server with your student id and password. Simply SSH, that's all.

    Is there any app for the iPhone that would let me do that? Would terminal.app do the trick? Whoever has the terminal installed - please let me know if you can use it for ssh. If not, is there an alternative?



  2. #2
    Senior Professional Array dogzilla's Avatar

    Join Date
    Aug 2007
    Location
    Boston
    Posts
    106
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    yes, terminal app lets you do that. It also lets you VPN and then ssh - I do it everyday.
    "Are you into S&M?"
    "Well...I'm a Red Sox fan. Does that count?"
    Go Sox!

  3. #3
    Senior Professional Array

    Join Date
    Jul 2007
    Location
    Faroe Islands
    Posts
    192
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    16

    Default

    Quote Originally Posted by dogzilla View Post
    yes, terminal app lets you do that. It also lets you VPN and then ssh - I do it everyday.
    Would you be so kind to help me? Which commands do I input into Terminal?
    Petemag - Running on a 15" MacBook Pro 2.5 GHz and an 8GB iPhone SW unlocked - SW unlocked 45 iPhones and HW unlocked 2 iPhone

  4. #4
    Senior Professional Array dogzilla's Avatar

    Join Date
    Aug 2007
    Location
    Boston
    Posts
    106
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    There are other, more complicated ways to do this, but the simplest is to use Installer.app.

    First, if you haven't already done so, install Installer.app (this process is left as an exercise for you - there are plenty of tutorials available). Then launch it and install "BSD Subsystem", "OpenSSH" and "MobileTerminal". You may also want to install SBKb and Launcher, but they're not strictly necessary depending on your setup.

    Once these are installed, just launch MobileTerminal and you have a command line and can use ssh from there. I'm sure your school provides ssh instructions for the command line. If not, you can enter "ssh -h" on your phone to get a list of options, but basically it's:

    ssh -l username 127.0.0.1

    (where the ip address is replaced by the server's ip address) The VPN connection is very simple to set up. It's under Settings->General->Network->VPN->Settings
    "Are you into S&M?"
    "Well...I'm a Red Sox fan. Does that count?"
    Go Sox!

  5. #5
    Advanced Array

    Join Date
    Jul 2007
    Posts
    32
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    can it connect to a FTP server? never use SSH before, just wonder.


  6. #6
    mbd
    mbd is offline
    Professional Array mbd's Avatar

    Join Date
    Mar 2007
    Location
    Melbourne, AU
    Posts
    94
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    Quote Originally Posted by dogzilla View Post
    ssh -l username 127.0.0.1
    Note that to save typing you may want to type

    Code:
    ssh username@hostname
    Or even better, create a file called '.profile' in your iphone root user's home folder with lines like this:

    Code:
    alias mysite='ssh username@hostname'
    and then when you start the terminal on the iphone you can just type 'mysite' to connect.

    BTW, with Installer.app I've installed Term-vt100 - is there any reason that it's any better or worse than MobileTerminal? I tried both, and liked the former better - it has an ability to do cursors, tabs, control key, etc by tapping on the terminal screen. Also MobileTerm seemed to give me double prompts (i.e., "# #").

  7. #7
    Advanced Array

    Join Date
    Aug 2007
    Posts
    41
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by mbd View Post
    BTW, with Installer.app I've installed Term-vt100 - is there any reason that it's any better or worse than MobileTerminal?
    Term-vt100 is MobileTerminal, just a newer version of the same.

    As for the OP question: Terminal.app allows you to run shell commands. If you also install the shell command ssh, then you can use Terminal.app to ssh out to remote machines. I do this daily.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 05:28 AM.
twitter, follow us!