That does sound convenient! But personallly, not enough to go out of my way to install and set up SSH -- not such a hassle if you have a Mac, I suppose, but it's terribly confusing and complex if you are on a Windows system!
A malicious worm attack on JB phones. I guess we'll see a lot now.
http://news.bbc.co.uk/1/hi/technology/8373739.stm
This is how to change the password:
1. Download Mobile Terminal through Cydia.
2. Launch Terminal, type in: 'su root', it'll prompt you for your current password next, so type in 'alpine'. (Don't use quotations obviously).
Doing the above logs you in as 'root', because by default if you launch terminal and just use the 'passwd' command, it doesn't actually change it per se as you are logged in as 'mobile', which doesn't have sufficient permissions to change the password.
3. Type in 'passwd', and it should prompt you to enter a new password and then ask you to verify it again.
4. Type in passwd mobile (this is to set a new one for user "mobile" as well). Once again, enter a new password twice
So I did these steps and changed my password. Now what password did I change. When I use Putty to connect. When I entered "root" then "alpline"....did I change the "alpine"?
So I did these steps and changed my password. Now what password did I change. When I use Putty to connect. When I entered "root" then "alpline"....did I change the "alpine"?
I've been watching this thread so I just wanted to suggest to people to add the "AllowUsers <user>@<ip range/address>" parameter into /etc/ssh/sshd_config.
I've added this to effectively block out any workstations except my own on my 192.168.1.0/24 private network at home (and since AT&T uses the private 10.0.0.0/8, this should help protect against attacks over the AT&T 3G network).
For example:
AllowUsers root@192.168.1.150 root@192.168.1.151
...effectively allows only the two listed workstations into your phone. You'd probably want to set static IPs on your home workstation(s), or use DHCP reservations to guarantee the addresses.
I've tested this at home and it seems to work fine on my local network. You do get a login prompt, but never can get in if not listed (now wouldn't that frustrate Mr. Hacker trying to guess your password).
Also Google "sshd allowusers" to read more on this.
SSH doesn't work over the 3G connection... I've tried. I wanted to be able to remote into my phone over SSH using DynDNS so that I could remotely locate it without paying for mobile me.![]()