Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-11-2026, 09:13 PM   #1
noobyme
Connoisseur
noobyme began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Apr 2023
Device: Kobo Nia
Niluje's Kobo tool's ssh server

How do I disable no password logins for ssh, and get key based auth working? I edited sshd_config in both /etc/ssh and usr/local/niluje/etc/ssh to no avail. For what its worth I deleted many tools in his package because they were slowing my Nia down a bit
noobyme is offline   Reply With Quote
Old 02-12-2026, 11:05 PM   #2
noobyme
Connoisseur
noobyme began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Apr 2023
Device: Kobo Nia
How odd, passwordless login is now successfully disabled. Iguess Ididnt reboot? Did ireally forget to try that? So to anyone else wondering, edit sshd_config in the locations above

they each state where ssh is located inthe config, also set apasswd using passwd command. ps command says sshd is located in usr/sbin

wait okay seems only the one in etc/ssh works, edit that one

okay after starting from scratch, rename ssh_disabled to ssh_enabled in the .kobo folder, edit sshd_config, set passwd, setting passwd before doing those 2 renders the password unusable for some reason, but I think I had a conflicting installation somehow bc I had ssh enabled even without renaming it, maybe from koreader.

okay im lost. when i try to use kobostuff, the full package when I ssh into my device it freezes and I cant do anything. So I removed most of the stuff by trial and error until I got it working, but... ssh-enabled doesnt do anything for me! Except enabling it means when I ssh the next time and forever after even if its diabled, I get an unknown uid error. When I add line to fix this, thanks to chatgpt giving an answer, it fixes temporarily before reverting the next reboot. Enabling ssh by renaming didnt allow me to set sshd_config even though before I was able to get it working somehow. My eearlier confusion was due to the fact I was soft resetting not hard resetting, the ssh server survives soft resetting... disabling ssh-enabled does nothing, I can continue to ssh.

sigh trying again after a while, somehow no uuid fixed itself! i can set passwords again... but i didnt do anything...
huh, editing /etc/passwd with vi, adding the letter x between the empty fields for root seems to have fixed the problem, although I remember this working only temporarily before it seems its a permanent fix...

Last edited by noobyme; 03-13-2026 at 08:18 PM.
noobyme is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH server not working in firmware 5.18.5 Jose KOReader 5 10-10-2025 06:51 PM
PW2 SSHD Lite (SSH Server, for your kindle PW!) merith.tk Kindle Developer's Corner 0 04-21-2023 04:18 PM
Recommended SSH server for android phone dhdurgee Android Developer's Corner 5 05-07-2015 01:12 PM
M92: password and users (eg. ssh/ssh-server) lepau Onyx Boox 1 11-15-2013 11:46 AM
Does exist a SSH Help Tool? jmesar Kindle Developer's Corner 2 04-20-2012 03:26 PM


All times are GMT -4. The time now is 02:18 PM.


MobileRead.com is a privately owned, operated and funded community.