![]() |
#46 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#47 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 572
Karma: 1138182
Join Date: Sep 2009
Device: Kobo Touch,Glo,Mini,Aura/HD/One,H20, Sony PRS-300/600, Kindle 3-PW
|
|
![]() |
![]() |
![]() |
#48 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2024
Device: Kobo Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#49 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,525
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Just curious if anyone has managed to used ssh to access their Kobo.
There is now a file in the .Kobo directory called (by default) ssh-disabled which contains Code:
To enable ssh: - Rename this file to ssh-enabled - Reboot the device - Connect via: ssh root@<device_ip> ![]() I've a kludge via NickelMenu that lets me add a new ID to the Kobo with a known password and start telnet; this works but using that ID with ssh fails. (It's possible that one mistake I made here is that I only added my new ID to the passwd file, and NOT to the shadow file.) I suppose I could try to change the root password on the Kobo to null (there is actually a script that the Kobo will run to set the password on first connection via ssh). |
![]() |
![]() |
![]() |
#50 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,525
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Oh well! Just tried again; this time I had changed the root password to a known value from my kludge added admin id, and this time all worked!
|
![]() |
![]() |
![]() |
#51 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,689
Karma: 16307824
Join Date: Sep 2022
Device: Kobo Libra 2
|
How do you do any of this if telnet is disabled by default now and you need to rename a file in order to enable SSH? You would need SSH to enable SSH.
![]() |
![]() |
![]() |
![]() |
#52 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,525
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
No... the .kobo directory is exposed when you connect via USB.
|
![]() |
![]() |
![]() |
#53 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,220
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I simply set up a NickelMenu action to toggle SSH. Basically, if ssh-disabled is found, rename it to ssh-enabled and reboot, if ssh-enabled is found, rename it to ssh-disabled and reboot.
Code:
menu_item : main : Toggle SSH : cmd_output : 500: quiet: test -e /mnt/onboard/.kobo/ssh-disabled chain_failure : skip : 3 chain_success : cmd_spawn : quiet : mv /mnt/onboard/.kobo/ssh-disabled /mnt/onboard/.kobo/ssh-enabled chain_success : dbg_toast : SSH Disabled chain_always : skip : 2 chain_failure : cmd_spawn : quiet : mv /mnt/onboard/.kobo/ssh-enabled /mnt/onboard/.kobo/ssh-disabled chain_success : dbg_toast : SSH Enabled chain_always : power : reboot Last edited by DNSB; 06-30-2025 at 12:07 AM. |
![]() |
![]() |
![]() |
#54 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,220
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Also, here's the item I use to display current SSH status.
Code:
# menu_item :main : SSH (status) : cmd_output : 500: quiet: test -e /mnt/onboard/.kobo/ssh-disabled chain_success : dbg_toast : SSH disabled on port 22 chain_failure : dbg_toast : SSH enabled on port 22 # |
![]() |
![]() |
![]() |
#55 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: May 2024
Device: none
|
Quote:
Don't you have the dbg_toast messages swapped? |
|
![]() |
![]() |
![]() |
#56 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,220
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#57 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2024
Device: Kobo Libra Colour
|
Quote:
https://github.com/RodrigoTomeES/Nic...ses/tag/v0.5.5 Won't fix the Wi-Fi bug you and I had on the latest firmware, but will get bluetooth commands working on nickelmenu. |
|
![]() |
![]() |
![]() |
#58 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 25
Karma: 20010
Join Date: Mar 2025
Device: Kobo Clara Color
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need to install international Boox Poke 5 firmware to China firmware | jeremynhan96 | Onyx Boox | 2 | 07-19-2024 08:42 PM |
Firmware Update Instructions and the latest Firmware Versions | mitchwah | Ectaco jetBook | 113 | 10-24-2023 09:02 PM |
Nouveau firmware firmware 6.5.765 pour la Inkpad 3/PB740 | mooms | PocketBook | 0 | 11-08-2021 08:23 AM |
Firmware glitch - typing text slow on some firmware+device combinations | mdp | Onyx Boox | 11 | 11-11-2017 12:48 AM |
Firmware 2.0.3 Pocketbook IQ - another firmware is release for IQ | tvpupsik | PocketBook | 26 | 12-13-2010 03:03 PM |