maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Got problem of SSH (https://talk.maemo.org/showthread.php?t=81010)

TMavica 2011-12-20 16:29

Got problem of SSH
 
I have set the password as user in X-terminal. Then I use winscp login, connected. However, when I edit a file outside MyDocs, it said permission denied

how to solve? many thanks

vi_ 2011-12-20 16:31

Re: Got problem of SSH
 
Login to n900 with winscp as root.

TMavica 2011-12-20 16:33

Re: Got problem of SSH
 
n900?
I mean n9

Lovsan 2011-12-20 17:06

Re: Got problem of SSH
 
you need to be logged as Root to be able to edit most of the files, you need to enable root login via ssh,

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

Code:

# Authentication:
PermitRootLogin yes

once done, ctrl+o then enter saves the file
ctrl+x closes Nano

TMavica 2011-12-20 17:17

Re: Got problem of SSH
 
I done this already
but when i edit the file through winscp, after edited , then save, it ask me password , then it said permission denied

Lovsan 2011-12-20 22:03

Re: Got problem of SSH
 
hmm, yes please solution to this, i get same error also :/

coderus 2011-12-20 22:14

Re: Got problem of SSH
 
you cant get root access via ssh.
use putty with mc =)

Lovsan 2011-12-20 22:27

Re: Got problem of SSH
 
I figured it out allready, had to reboot :D doh haha


All times are GMT. The time now is 08:36.

vBulletin® Version 3.8.8