| The Following User Says Thank You to fatalsaint For This Useful Post: | ||
|
|
2009-12-18
, 18:50
|
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#42
|
useradd -m -N bla passwd bla
|
|
2009-12-18
, 18:54
|
|
|
Posts: 7,071 |
Thanked: 9,040 times |
Joined on Oct 2009
@ Moon! It's not the East or the West side... it's the Dark Side
|
#43
|
|
|
2009-12-18
, 18:55
|
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#44
|
su - <root password>
|
|
2009-12-18
, 18:56
|
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#45
|
| The Following User Says Thank You to blubbi For This Useful Post: | ||
|
|
2009-12-19
, 06:23
|
|
Posts: 104 |
Thanked: 10 times |
Joined on Dec 2009
|
#46
|
1. get root terminal (open terminal, type "root")
2. run command "update-rc.d -f remove ssh"
To start/stop the SSH server in root shell use command "/etc/init.d/ssh start" or "/etc/init.d/ssh stop"
No, you should be able to get a root shell by simply typing "root" in the terminal.
I don't think so, not that it matters much upon next install it will probably prompt you for a new one anyway.
kwotski was faster than me: but the update-rc.d is in general the recommended way to muck around with the rc.d directories.
|
|
2009-12-19
, 14:32
|
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#47
|
|
|
2010-01-06
, 15:09
|
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#48
|
Hey, why not use keys to authenticate...
.....
And just another hint for those who can't get a connection to there device when connected to the Internet via GPRS/UMTS.
Some providers do NAT, so the IP address the phone gets assigned is a none routeable address and thus you will not be able to connect to your device. Use some sort of VPN (OpenVPN) to get rid of that nasty problem.
Cheers
Bjoern
|
|
2010-01-06
, 15:46
|
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#49
|
could Bjoern/anybody elaborate on it a bit more please.
Im trying to ssh into my N900 over a GPRS/3G connection and I cant seem to do it using the IP address asscoiated with the gprs0 interface.
cheers
|
|
2010-01-08
, 08:10
|
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#50
|
Please make sure you IP is a valid one and not a private IP wich will not be routed:
...
If your gprs0 IP falls into one of those three ranges, your only hope to ssh into your phone is via a VPN connection (OpenVPN)
Cheers
Bjoern
You can either do this:
Also, since you said you were going to look into keys, I recommend setting:
PasswordAuthentication no
in your sshd config as well. Then you can only use keys.
Last edited by fatalsaint; 2009-12-18 at 18:48.