Now I got things working for the first time (to be updated) under Ubuntu 11.10. So this works with the PB 912 Pro.
Every information was contained in the README.txt of rKomars app. But my first approach was to copy the content of the keys into the authorized_keys2
file. That did not work. Probably I made a mistake somewhere ...
1. Edit the rsh-app
and add the corresponding IP of your PC.
2. Copy the rsh-app
and the sshd-app
to the applications
directory of the pocketbook
3. Unmount Pocketbook
4. Start a terminal on your PC and start
5. Start the rsh-app
on the pocketbook, the login to the PB should succeed
6. On the terminal at PC:
7. Reconnect the device via USB
8. Move (not copy !!!) the id_rsa
from the directory pb_sshd
to your ~/.ssh/
-directory on the PC. This is not that good, because it could overwrite your local rsa-keys. But this is no problem, because you should normally use the more secure dsa-keys for all other connections, which are name id_dsa and id_dsa_pub
9. Unmount Pocketbook
10. Alter the permissions of the private key on your PC(!):
chmod 600 ~/.ssh/id_rsa
10. Start the sshd-app
11. Connect from the PC-terminal with:
ssh -p 1124 reader@IP_OF_POCKETBOOK "sh"
(it is very important to add the "sh" at the end since you will get an error "PTY allocation request failed on channel 0", if you do not specify a shell.
Thats a quick solution. I'll post, when I will make more efforts enhancing this
Thanks rKomar for the app.
This enabled me to create a shortcut for the nautilus file-manager (should work on all unix-systems) - see attachment. On windows you could use Win-SCP. To be able to use "pocketbook" for the client name, you have to add a line in your "/etc/hosts
" (for windows, this is the lmhosts
-file, somewhere under the c:\windows\system\...\etc
I tested with Bart-Stuff (under Wine). You can easily access mounted filesystems under Gnome - either within the filemanager nautilus or you create a symbolic link to the hidden directory ~/.gvfs:
Now you can choose the mounted pocketbook directory within Bart-Stuff to test the speed
Write: 426 KB/s
Read: 708 KB/s
Tested with a PocketBook 912 Pro, Lenovo T61 g-Wifi-Card (54 Mbit/s), and a Cisco N-Router
This is much much more than with bluetooth!
You can start the connection to the pocketbook e.g. with:
ssh -vv -i ~/.ssh/id_rsa -p 1124 reader@pocketbook "sh"
which will give you a plenty lot of debug informations