maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [done] unable to ssh into fresh n900 (CSSU+KP) (https://talk.maemo.org/showthread.php?t=92241)

sulu 2014-01-01 20:33

[done] unable to ssh into fresh n900 (CSSU+KP)
 
1 Attachment(s)
Hi,

I just ran into a very strange problem.
step by step:

1. I took a backup N900 out of my closet that's never been powered on (PR1.3 preinstalled).
2. I installed rootsh and openssh-server via HAM.
3. I successfully ssh'ed into the N900 via wifi from my desktop-PC (Debian Wheezy).
4. I swapped home and mydocs partitions according to [1] (this involved a reboot).
5. I successfully ssh'ed into the N900 via wifi again.
6. I installed CSSU stable according to [2] (including the reboot).
7. I installed kernel-power v52 and rebooted the N900.
8. I tried to ssh into the N900 again but always get this error:
Code:

~$ ssh root@192.168.1.6
root@192.168.1.6's password:
Permission denied, please try again.

9. I un- and reinstalled ssh-server several times, via HAM, via apt-get (with and without purge), deleted /etc/ssh but always get the same error, not only from my PC but also from my HTPC (also running Debian). I have not made any changes to the N900's default ssh configuration (/etc/sshd_config attached).

Question:
Has anybody ever seen something like this? Is this CSSU/KP-related? If not, what's going on here?

Otherwise wifi from the N900 works just fine. I can ping the N900 from my PC, I can ssh from the N900 to the PC and I can browse the internet.


[1] http://wiki.maemo.org/Repartitioning...Docs_partition
[2] https://wiki.maemo.org/Community_SSU#Installation

Estel 2014-01-01 22:16

Re: unable to ssh into fresh n900 (CSSU+KP)
 
Try changing StrictModes to look like:
Code:

StrictModes no
...in /etc/ssh/sshd_config

I remember having exact same issues (albeit I was using publickey auth, only), for reasons unknown. I *ensured* that all files are owned correctly, and permissions are *not* set to "allow write" for world., still, strictmode was kicking in.

I scratched my head about it for a while, then just shrugged and left it as "no", cause I maintain correct permissions for my ssh configs, anyway. Still, it is very interesting, that you run into it just after installing CSSU, not ssh-server update, as I thought - it may be worthwile to left a note to CSSU guys, then.

Of course, only if it really help in your case as I suspect - otherwise all of the above is moot ;)

/Estel

sulu 2014-01-02 15:34

Re: unable to ssh into fresh n900 (CSSU+KP)
 
It turned out that I mixed up my devices (productive vs. testing) and for some reason set up a different ssh password on the testing device which I was now trying to use on the producttive one.

I guess I shouldn't do such things with a new-years hangover. :o
Thanks anyway!


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

vBulletin® Version 3.8.8