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

ssh login with root password (generated or manually entered) fails

asked 2015-08-30 22:44:55 +0200

Atran_Beluc gravatar image

In the past i could access my jolla phone via putty (with a Win7 host) via USB with developer access activated and with a generated password. Now i could not access it with the same method and a newly generated or manually entered password even if i deactivate the developer access first and then reactivate it again (and disconnect+reconnect the usb cable). I always get the error message "Access denied" in the putty window...

What can i do?

edit retag flag offensive close delete

Comments

2

Do you log in as user nemo or as root?

ossi1967 ( 2015-08-30 23:12:48 +0200 )edit

tried to login with putty and user "nemo" and the generated password... result: OK

Atran_Beluc ( 2015-09-03 14:15:47 +0200 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2015-08-31 00:18:24 +0200

chemist gravatar image

for direct root login you need to set the password with passwd first (as root)

edit flag offensive delete publish link more

Comments

1

And edit the sshd_config in /etc to allow root logins!

Philippe De Swert ( 2015-08-31 10:38:20 +0200 )edit
1

Exactly. Comment out PermitRootLogin yes and it should work again.

J4ZZ ( 2015-08-31 19:20:59 +0200 )edit

Iirc no need to alter sshd_config, at least mine is not altered!

chemist ( 2015-08-31 22:33:10 +0200 )edit

Right, it was working fine before. But now, after updating to 1.1.7.28 I have to edit sshd_config to get the root login working again.

J4ZZ ( 2015-09-02 16:20:30 +0200 )edit

i thought that generating a new password via the system properties dialog (developer mode) sets also the root password... but now i understand that it sets the password for user "nemo". Nnow i can't even remember my (original) root password and so i cannot set a new one why the terminal app and the passwd command.

And why do i have to modify the sshd_config after an update? This can only be a (big) bug.

Atran_Beluc ( 2015-09-03 14:11:26 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2015-08-30 22:44:55 +0200

Seen: 614 times

Last updated: Aug 31 '15