PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   General iPhone Discussions (http://forum.ppcgeeks.com/forumdisplay.php?f=197)
-   -   SSH Info (http://forum.ppcgeeks.com/showthread.php?t=100901)

CyberMonkey 12-09-2009 10:50 AM

SSH Info
 
For those that may fear the two known "worms" that has emerged for iPhones.
First, the phone needs to be jailbroken to be effected.
Second, you must have installed and activated SSH for the phone to be effected.

Two different way to avoid the problem is 1.) don't install SSH. You can actually use iPhone Browser to accomplish what you can with SSH. 2.) change the default SSH password.

To change the password, you download "Mobile Terminal" from ROCK or CYDIA. Open it and type in the command "passwd" (without the quotes).
You will need to enter the current password, which should be alpine
Then you will need to enter your new one twice.

Perasite 12-09-2009 10:57 AM

Re: SSH Info
 
There are actually 2 users, the account you are logged into when you open terminal and the root account. You'll want to change the password on both, but definitely insure you are changing the root password. Just typing passwd didn't do it for me, I had to change to the root account first. I'll look for the instructions and post them.

Perasite 12-09-2009 10:58 AM

Re: SSH Info
 
Here they are:
Once you have MobileTerminal installed, launch it and you should see a prompt saying this or similar:

iPhoneName: ~ Mobile$

At that prompt, type: passwd
You’ll be prompted for the ‘old’ (current) password for the mobile user. Enter this as the old password: alpine
You’ll then be prompted to enter the new password – so just type in your desired new password. Use good password principles if possible (long and stong). You will not see characters appearing on the screen as you type – that’s normal, not a concern.
You’ll then be prompted to re-enter the new password. Do that.
You should then be returned to the Mobile$ prompt that you started on when opening the MobileTerminal app. There’s no success message to say the password was changed – but if you’re returned to the prompt and do not get an error, the change was successful. And you’re done with change for the mobile account.
The second primary admin account for the iPhone is called root – so now you need to change that as well.
Type this to switch to the root user: login root
You’ll be prompted for the root user’s current password. Enter this: alpine
Type this to start the password change routine again: passwd
Enter the old password for root (it is ‘alpine’, same as for the mobile user) and enter your desired new password twice, just as you did for the mobile account
Done.

CyberMonkey 12-09-2009 11:23 AM

Re: SSH Info
 
yea I forgot about having to switch to root. I was actually just about to edit my post to include that info, but checked to see if there where any posts first...

Rusty Duck 12-10-2009 10:30 PM

Re: SSH Info
 
I thought the Rock prompted you to change your password....

CyberMonkey 12-10-2009 10:38 PM

Re: SSH Info
 
Quote:

Originally Posted by Rusty Duck (Post 1403938)
I thought the Rock prompted you to change your password....


Rock did not prompt me to change my password, only to create an account for ROCK itself.....

orangekid 02-25-2010 12:37 PM

Re: SSH Info
 
I can't find mobile terminal anywhere on rock or cydia, am i missing a source? how do I add this?

also, how to I ssh into my phone without a wifi connection (I do have edge working fine for data)

shaggylive 02-25-2010 12:40 PM

Re: SSH Info
 
thanks for the bump and the info. now I can actually say iphone has a worm.
lol,, pun unintended, but very much apreciated.. LOL :headbang:


(apple with a worm..)

orangekid 02-25-2010 12:50 PM

Re: SSH Info
 
Quote:

Originally Posted by shaggylive (Post 1590000)
thanks for the bump and the info. now I can actually say iphone has a worm.
lol,, pun unintended, but very much apreciated.. LOL :headbang:


(apple with a worm..)


epic disappointment :(

I thought someone had actually answered my questions ](*,)

shaggylive 02-25-2010 12:56 PM

Re: SSH Info
 
sorry mang. maybe next time.


All times are GMT -4. The time now is 03:53 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0