|
|
#106 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,076
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
That's great! I made a link to your post with the attached zipfile in the first one in this thread, to make it easier for anybody to find. To be honest, my enthusiasm for providing apps for PocketBook devices went down significantly when they started culling functions from InkView and breaking my previous projects. It's good that you provided a build yourself because I probably wasn't going to get around to it with all the extra work required just to get the latest SDK working. Thanks for doing the work.
|
|
|
|
|
|
#107 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 120
Karma: 1256026
Join Date: Apr 2011
Location: San Diego, CA, USA
Device: Kindle Oasis (10th gen), Kobo Libra 2, Onyx Leaf2 Black
|
Thanks! I didn't try the jailbreak with the 6.10, it likely won't work, so reverted to 6.8 for now to have working SSH access with your instructions for changing /dev/ptmx permissions to get working TTY.
On my FW /usr/dev is actually a tar archive (/usr/dev.tar). So you need to unpack it, change the permissions of the ptmx file to 666 and pack it back for the changes to persist after the reboot. I also forgot to remove debug logging from ssh/sshd_config in the shared zip. You may want to remove this line: "LogLevel DEBUG". |
|
|
|
|
|
#108 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,076
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Personally, I use utelnetd to get a terminal on my devices. Have you tried that instead of ssh? I still use scp to transfer documents over, though.
|
|
|
|
|
|
#109 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 120
Karma: 1256026
Join Date: Apr 2011
Location: San Diego, CA, USA
Device: Kindle Oasis (10th gen), Kobo Libra 2, Onyx Leaf2 Black
|
Oh, thanks for the tip! I'll give it a try.
|
|
|
|
|
|
#110 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2023
Device: PocketBook 912
|
Hello!
sonoma@iMac-Sonoma dist % ls ~/.ssh/id_rsa.pub ls: /Users/sonoma/.ssh/id_rsa.pub: No such file or directory sonoma@iMac-Sonoma dist % cd /Volumes/Pocket912/applications/pb_sshd/etc/ssh sonoma@iMac-Sonoma ssh % ls sshd_config sonoma@iMac-Sonoma ssh % ssh-keygen -b 1024 -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/Users/sonoma/.ssh/id_rsa): Enter passphrase for "/Users/sonoma/.ssh/id_rsa" (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/sonoma/.ssh/id_rsa Your public key has been saved in /Users/sonoma/.ssh/id_rsa.pub The key fingerprint is: SHA256:vvgbXKV/MLf88bvA6HCXahFaiM96Cr0R37c7CE0YIvY sonoma@iMac-Sonoma.local The key's randomart image is: +---[RSA 1024]----+ | | | o . . | | . o o + . | | E o * | | .S B + . | | .oo*.+o=.. | | . o=o.++*+. | | .oo++o+oo.o| | .+*..o ooo=| +----[SHA256]-----+ sonoma@iMac-Sonoma ssh % ls -h authorized_keys2 sshd_config sonoma@iMac-Sonoma ssh % cd sonoma@iMac-Sonoma ~ % ssh -p 1124 sreader@192.168.1.233 ssh: connect to host 192.168.1.233 port 1124: Connection refused sonoma@iMac-Sonoma ~ % ssh -p 1124 sreader@192.168.1.233 The authenticity of host '[192.168.1.233]:1124 ([192.168.1.233]:1124)' can't be established. ECDSA key fingerprint is SHA256:jKWpCYVdw5jNKwRGQJETznygga7YrGFJdpstWAZSkt8 . This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? y Please type 'yes', 'no' or the fingerprint: yes Warning: Permanently added '[192.168.1.233]:1124' (ECDSA) to the list of known hosts. sreader@192.168.1.233's password: What is the mistake? PocketBook 912. |
|
|
|
|
|
#111 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2023
Device: PocketBook 912
|
sonoma@iMac-Sonoma ssh % cat /Volumes/Pocket912/applications/pb_sshd/etc/ssh/authorized_keys2
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCuFUWywgWqRflqKs2mwg CqQdi3mYJrkkNEkwjT9W9ovD9RPWSH3ghL/gaIYDJc8z9mJS1Pjhup3jMEDgBAjMydD63B66O9h7Q5JyE5gAk B5wA9/ftBPLzeaVlYHFoAn5eszn/xta5RhsCHC7TuH/GI4MyRx+OVSn7b2B7KAj3xAQ== sonoma@iMac-Sonoma.local sonoma@iMac-Sonoma ssh % |
|
|
|
|
|
#112 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 120
Karma: 1256026
Join Date: Apr 2011
Location: San Diego, CA, USA
Device: Kindle Oasis (10th gen), Kobo Libra 2, Onyx Leaf2 Black
|
Did you dry 'reader' login instead of 'sreader'?
|
|
|
|
|
|
#113 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2023
Device: PocketBook 912
|
Yes.
Here is the solution. sonoma@iMac-Sonoma ~ % ssh -p 1124 -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa sreader@192.168.1.233 PTY allocation request failed on channel 0 ls bin dev ebrmain etc lib lost+found mnt proc sbin sys tmp usr var df -h Filesystem Size Used Available Use% Mounted on /dev/root 26.6M 17.7M 7.5M 70% / none 128.0M 144.0K 127.9M 0% /var tmpfs 124.4M 0 124.4M 0% /var/dev/shm /dev/mmcblk0p3 133.7M 114.7M 19.1M 86% /ebrmain /dev/mmcblk0p2 612.5M 114.4M 498.1M 19% /mnt/secure /dev/loop0 105.3M 105.3M 0 100% /ebrmain/cramfs /dev/mmcblk0p1 952.8M 349.7M 603.2M 37% /mnt/ext1 /dev/mmcblk1 7.3G 2.6G 4.7G 36% /mnt/ext2 Last edited by SERG-987; 11-22-2025 at 02:21 AM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Root / Shell / Term / SSH / editor on a Kindle 2? | JDShaffer | Kindle Developer's Corner | 2 | 12-13-2010 07:11 PM |
| Can't get shell access | MarkRPenn | iRex | 11 | 10-26-2007 07:58 PM |
| Shell Access ? | grayfox | iRex | 6 | 10-14-2007 05:56 PM |
| FTP access open to new developers | Alexander Turcic | Announcements | 2 | 05-05-2007 12:02 PM |