Open ssh?

Discussion in 'iPad Hacking' started by HUNTER1, Apr 28, 2011.

  1. HUNTER1
    Offline

    HUNTER1 iPad Fan

    Joined:
    Jul 21, 2010
    Messages:
    127
    Thanks Received:
    0
    Trophy Points:
    16
    Location:
    Las vegas
    Ratings:
    +0 / 0
    I have open ssh on my iPhone and changed the password. If I install open ssh on my iPad, do I need to go to mobile terminal and retype the new password on my iPad? Thanks
  2. jsherk
    Offline

    jsherk iPF Novice

    Joined:
    Apr 19, 2011
    Messages:
    78
    Thanks Received:
    1
    Trophy Points:
    0
    Ratings:
    +1 / 0
    I think the answer to your question, is YES, you will want to change the root password on your iPad to something other than alpine.

    If you have cydia on your iPad, start it up, and right on the main page there are some user guides. There is one called "OpenSSH Access How-To" and "Root Password How-To" ... they have lots of good info in them!
  3. graywolf
    Offline

    graywolf iPad Super Guru

    Joined:
    Aug 22, 2010
    Messages:
    3,655
    Thanks Received:
    35
    Trophy Points:
    0
    Location:
    Raleigh, NC USA
    Ratings:
    +35 / 0
    Great answer, BUT, mobile terminal does not work for iPad.
  4. jsherk
    Offline

    jsherk iPF Novice

    Joined:
    Apr 19, 2011
    Messages:
    78
    Thanks Received:
    1
    Trophy Points:
    0
    Ratings:
    +1 / 0
    I use PuTTY from my PC and it worked great for changing password:
    PuTTY Download Page

    I also use WinSCP for FTP but it also has the ability to run some command line commands, so it might work for changing password but not sure. It works great for file transfers though:
    WinSCP :: Download
  5. HUNTER1
    Offline

    HUNTER1 iPad Fan

    Joined:
    Jul 21, 2010
    Messages:
    127
    Thanks Received:
    0
    Trophy Points:
    16
    Location:
    Las vegas
    Ratings:
    +0 / 0
    Ok, I changed my password on my iPhone with mobile terminal. I guess I will not install until mobile terminal is updated for iPad, no rush.
  6. slimshotty
    Offline

    slimshotty iPF Novice

    Joined:
    Apr 25, 2011
    Messages:
    13
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Austin, TX
    Ratings:
    +0 / 0
    Wrong. MobileTerminal does work for the iPad iOS 4.3.2.

    Also, it is also best practice to not only change the 'root' passwd but to also change the 'mobile' user password as well.
  7. jsherk
    Offline

    jsherk iPF Novice

    Joined:
    Apr 19, 2011
    Messages:
    78
    Thanks Received:
    1
    Trophy Points:
    0
    Ratings:
    +1 / 0
    I changed root user but not mobile user.

    What is Mobile user used for, and what is default password?

    Will changing either password cause problems with installing apps?
  8. f4780y
    Offline

    f4780y Super Moderator Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,109
    Thanks Received:
    635
    Trophy Points:
    113
    Location:
    Troon, Scotland
    Ratings:
    +635 / 0
    The mobile user, which is the default user on the device, has access to all your data. It is basically "you". It also has the same default password of alpine. Change it to anything you like. You should not run into any problems installing, etc. if you make this change. It is just good security practice.
  9. jsherk
    Offline

    jsherk iPF Novice

    Joined:
    Apr 19, 2011
    Messages:
    78
    Thanks Received:
    1
    Trophy Points:
    0
    Ratings:
    +1 / 0
    Doing cat /etc/passwd lists the following users as well... any of these others need to be changed?
    root:*:0:0:System Administrator:/var/root:/bin/sh
    mobile:*:501:501:Mobile User:/var/mobile:/bin/sh
    nobody:*:-2:-2:Unprivileged User:/var/empty:/usr/bin/false
    daemon:*:1:1:System Services:/var/root:/usr/bin/false
    _wireless:*:25:25:Wireless Services:/var/wireless:/usr/bin/false
    _securityd:*:64:64:securityd:/var/empty:/usr/bin/false
    _mdnsresponder:*:65:65:mDNSResponder:/var/empty:/usr/bin/false
    _sshd:*:75:75:sshd Privilege separation:/var/empty:/usr/bin/false
    _unknown:*:99:99:Unknown User:/var/empty:/usr/bin/false
  10. graywolf
    Offline

    graywolf iPad Super Guru

    Joined:
    Aug 22, 2010
    Messages:
    3,655
    Thanks Received:
    35
    Trophy Points:
    0
    Location:
    Raleigh, NC USA
    Ratings:
    +35 / 0
    On Cydia, in the description, and I quote "Please note that MobileTerminal isn't quite done being ported to 2.x.". I downloaded it on 4.2.1 and it would open and crash. So, based on the description it hasn't been updated in a LONG time. I don't know what mobile terminal you are talking about.
  11. Milsurp
    Offline

    Milsurp iPF Noob

    Joined:
    Apr 20, 2011
    Messages:
    9
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Florida
    Ratings:
    +0 / 0
    So if mobile terminal does not work, how do you change the password? Is the "Putty" program the way to go?
  12. graywolf
    Offline

    graywolf iPad Super Guru

    Joined:
    Aug 22, 2010
    Messages:
    3,655
    Thanks Received:
    35
    Trophy Points:
    0
    Location:
    Raleigh, NC USA
    Ratings:
    +35 / 0
    Yes. Easiest way I know of. I don't know what in the world slimshotty is taking about.
  13. jsherk
    Offline

    jsherk iPF Novice

    Joined:
    Apr 19, 2011
    Messages:
    78
    Thanks Received:
    1
    Trophy Points:
    0
    Ratings:
    +1 / 0
    I use PuTTY from my PC to connect/maintain our servers at work, and it works just as well with iPad as a command line or terminal program and it's what I used to change passwords with.
  14. Milsurp
    Offline

    Milsurp iPF Noob

    Joined:
    Apr 20, 2011
    Messages:
    9
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Florida
    Ratings:
    +0 / 0
    Just used it to change my password. It worked great. Thanks for your help.
Similar Threads
  1. zachdrago
    Replies:
    8
    Views:
    5,562
  2. RudyL90
    Replies:
    0
    Views:
    1,252
  3. becakmayat
    Replies:
    4
    Views:
    2,224
  4. ricardodesousaf
    Replies:
    4
    Views:
    4,060
  5. dragon499
    Replies:
    1
    Views:
    626
Loading...

Share This Page

Search tags for this page

ipad open ssh

,
ipad openssh -cydia
,

open ssh ipad

,
open ssh ipad2
,
password for ipad ssh does not work