maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   OpenSSH pubkey authentication problem (https://talk.maemo.org/showthread.php?t=54420)

MavFurious 2010-05-29 10:01

OpenSSH pubkey authentication problem
 
Hi all,

after PR1.2 update i have a problem with my openssh server on N900, i can't login with pubkey authentication.

Obviously i 'cat' my client's id_rsa.pub to the /root/.ssh/authorized_keys, but when i login on the n900, it ask the password for user root.

The sshd_config is the same of my other 3 pc running linux and the method is the same.

Anybody has the same problem?

Thanks

skaiware 2010-06-15 16:34

Re: OpenSSH pubkey authentication problem
 
Worst : after PR1.2 update, ssh server DOES not work anymore !
- reinstalling ssh (server and client) from the OFFICIAL Nokia repository (no extradev or extratest),
- rebooting.
- cehcking sshd is running with ps command

Result : the N900 ejects the clients after only few seconds :
I have only the time to do some ls, cd,... and .... "Connection reset by peer"
1 - What damn has done Nokia ?
2 - Would nt it be one of the first QA process to check if at LEAST SSH still works for us to be able to connect securely to our N900 ?
3 - I remember that ssh was always working perfectly on my iPhone even after updates.

Rob1n 2010-06-15 17:08

Re: OpenSSH pubkey authentication problem
 
Quote:

Originally Posted by MavFurious (Post 687650)
Hi all,

after PR1.2 update i have a problem with my openssh server on N900, i can't login with pubkey authentication.

Obviously i 'cat' my client's id_rsa.pub to the /root/.ssh/authorized_keys, but when i login on the n900, it ask the password for user root.

The sshd_config is the same of my other 3 pc running linux and the method is the same.

Anybody has the same problem?

Thanks

Check the permissions on both the .ssh directory (should be 0700) and the authorized_keys file (should be 0600). sshd will ignore them if they're not secure.

Rob1n 2010-06-15 17:09

Re: OpenSSH pubkey authentication problem
 
Quote:

Originally Posted by skaiware (Post 716330)
Worst : after PR1.2 update, ssh server DOES not work anymore !

It works perfectly for me, having done the PR1.2 update OTA.

xman 2010-06-18 13:29

Re: OpenSSH pubkey authentication problem
 
No problem for me. though I had to move my keys back onto my device.

x

maddler 2010-06-18 14:12

Re: OpenSSH pubkey authentication problem
 
I can confirm everything is working fine.
Are you getting any error/warning/anything in the logs?

jedi 2010-06-18 14:16

Re: OpenSSH pubkey authentication problem
 
Quote:

Originally Posted by skaiware (Post 716330)
Worst : after PR1.2 update, ssh server DOES not work anymore !

Worked fine for me too...

maddler 2010-06-18 15:23

Re: OpenSSH pubkey authentication problem
 
I can confirm SSH is working as a charm on my N900.

skaiware, are you sure that's not a networking issue?

ping your n900 while on ssh and see if there is any network issue

maddler 2010-06-18 15:24

Re: OpenSSH pubkey authentication problem
 
btw, you could also try DropBear ssh server.


All times are GMT. The time now is 06:24.

vBulletin® Version 3.8.8