We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

SSH root access via FileZilla? [answered]

asked 2014-03-19 14:35:33 +0200

eson gravatar image

updated 2014-03-19 14:36:14 +0200

I found it very handy to ssh access my jolla via FileZilla, in some specific situations, but I can't figure out how to get root access. Putty is too complicated to just shovel files around, for example. Someone know how to get root access via FileZilla, and are willing to share this knowledge?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by eson
close date 2014-03-19 18:16:05.615929

2 Answers

Sort by » oldest newest most voted
3

answered 2014-03-19 17:25:28 +0200

domnk gravatar image

updated 2014-03-19 17:28:02 +0200

Hi

If you really want to do that,then

1. create root To connect as ROOT:

  • Open terminal on your phone
  • Write devel-su
  • Insert your pass that you set in the developer mode screen
  • Now write: passwd root (hit enter)
  • Create pass for ROOT
  • Confirm this pass again
  • Now you can close terminal

2. install cyberduck http://cyberduck.io

3. login via cyberduck as user root.

i hope everything i wrote is correct

edit flag offensive delete publish link more

Comments

Thanks! Now that I know how, I might try that one time or another. ;)

eson ( 2014-03-19 18:15:11 +0200 )edit
1

answered 2014-03-19 15:00:49 +0200

Philippe De Swert gravatar image

What's wrong with the user nemo? Root is disabled for ssh because of the security risks.

The first "screenshot" shows where to fill out what to access.

http://learnwebdesignonline.com/secured-sftp-using-filezilla

And if for some mysterious reason you need root, you will have to set a root password/ssh key and fix the ssh configuration to permit root logins (/etc/ssh/sshd_config). But this is soooo not recommended.

edit flag offensive delete publish link more

Comments

1

Thanks for your answer! Like many other Jolla users, my Linux skills are somewhat lacking, and while trying to learn better I,m poking with simple things like replacing launcher icons, ring tones and similar. I found that I can do these things directly on my phone and via Putty and devel-su, but that it would be so much easier with FileZilla... that's why I'm asking. I just thought that there might be an easy way to gain root access while I'm logged in (like putty). Obviously it's not so.

eson ( 2014-03-19 15:46:54 +0200 )edit

SFTP-SSH with Filezilla and 'root' user was OK for me until I upgraded to SFOS 2.0.

Now passwd root is still accepted but Filezilla 'root' authentication is denied; only 'nemo' authentication is accepted.

By the way, sometimes I need to use 'root' userID because (i) 'nemo' has no permission for some folders or files, (ii) Filezilla automatically sets 'root' or 'nemo' owner for transferred files, depending on the connected userID.

EDIT: issue solved after editing /etc/ssh/sshd_config (modified and uncommented directive PermitRootLogin yes). By default, the SFOS2.0.0.10 directive was PermitRootLogin prohibit-password, which prevented Filezilla from authenticating 'root' userID with a password instead of a certificate.

objectifnul ( 2015-11-10 10:42:44 +0200 )edit

Question tools

Follow
1 follower

Stats

Asked: 2014-03-19 14:35:33 +0200

Seen: 7,529 times

Last updated: Mar 19 '14