|
2011-11-03
, 13:35
|
|
Moderator |
Posts: 3,718 |
Thanked: 7,419 times |
Joined on Dec 2009
@ Bize Her Yer Trabzon
|
#2
|
|
2011-11-03
, 13:43
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#3
|
|
2011-11-03
, 16:14
|
Posts: 31 |
Thanked: 16 times |
Joined on Mar 2010
|
#4
|
The Following User Says Thank You to uber For This Useful Post: | ||
|
2011-11-03
, 17:09
|
Posts: 1,298 |
Thanked: 2,277 times |
Joined on May 2011
|
#5
|
devel-su passwd user
ssh user@<your_ip> devel-su
The Following 5 Users Say Thank You to shmerl For This Useful Post: | ||
|
2011-11-03
, 23:25
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#6
|
Did you update SSH? The new one disables root logins. Edit /etc/ssh/sshd_config and change "PermitRootLogin no" to "PermitRootLogin yes".
Better also don't do that. Disabling root ssh access is a good feature. Just enable ssh access for the "user" user, and then escalate your privileges with devel-su.
In terminal:
Set your password for "user". Then for remote ssh access:Code:devel-su passwd user
And that's it. Also probably worth while to change root's password as well.Code:ssh user@<your_ip> devel-su
|
2011-11-04
, 01:56
|
Posts: 1,298 |
Thanked: 2,277 times |
Joined on May 2011
|
#7
|
The Following User Says Thank You to shmerl For This Useful Post: | ||
|
2011-11-04
, 04:24
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#8
|
Did you update SSH? The new one disables root logins. Edit /etc/ssh/sshd_config and change "PermitRootLogin no" to "PermitRootLogin yes".
|
2011-11-04
, 04:40
|
Posts: 31 |
Thanked: 16 times |
Joined on Mar 2010
|
#9
|
|
2011-11-04
, 04:45
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#10
|
I spent a while figuring this problem out.
I access my N9 via SSH through Wifi using WinSCP on my PC. I like to modify my device(s) so I do it as root.
Recently there was an update to SSH on N9 which disables root access through SSH. Problem is, you need to be root to enable it. If youre like me and have come across this problem, let me help you. Then PR1.1 has disabled root access in another config file.
Pre PR1.1
1. open xterm
2. devel-su [enter] then your root password [enter]
3. nano /etc/ssh/sshd_config
then use the arrowkeys on the virtualkeyboard to navigate the file to "Authentication" section and change 'permitRootLogin' to yes
ctrl+x closes Nano
------------------------------------------------------------------------
Post PR1.1, to enable remote root login again (or rather make it controllable via
/etc/ssh/sshd_config like before):
N9 / N900 Youtube Videos
N9 "Faster, Darker, Better" Theme Pack
---
www.F2thaK.com
Last edited by F2thaK; 2011-11-15 at 13:15.