Quote:
Originally Posted by knc1
Presuming -
You have sshd (in the USBnetworking package) installed -
You have a network connection to the Kindle (you did write: "remote") -
You have public key authentication setup -
You have a 'nickname' set in your ~.ssh/config file for the connection details to the Kindle (shown here as: kpw) -
Then you can run any executable (or shell command) without logging in simply with:
ssh kpw 'ls -l /mnt/us/documents'
Code:
$ ssh kpw 'ls -l /mnt/us/documents'
-rwxr-xr-x 1 root root 127173 Sep 25 2015 KUAL-KDK-2.0.azw2
-rwxr-xr-x 1 root root 469576 Jan 1 17:22 Kindle User's Guide 3rd Edition_B0058H5MQM.azw3
drwxr-xr-x 2 root root 8192 Mar 29 21:01 Kindle User's Guide 3rd Edition_B0058H5MQM.sdr
drwxr-xr-x 2 root root 8192 Aug 15 2013 Kindle_Users_Guide.sdr
drwxr-xr-x 2 root root 8192 Apr 2 14:30 cpu_report.sdr
-rwxr-xr-x 1 root root 2818 Apr 2 14:17 cpu_report.txt
drwxr-xr-x 4 root root 8192 Aug 4 2013 dictionaries
or the appropriate lipc command or other executable program
OR
You set the command to be run as one of the fields in your authorized_keys file for the pub-key that is allowed to run it.
Same-same as any other *nix based system.
Just google "OpenSSH usage" or whatever, there are giga-bytes of documentation on the net about it.
|
I know how to handle SSH and start native programs, that is not the problem... but I didn't know about lipc, thanks! So I guess the WebBrowser is started via lipc internally? Do you know which exact arguments I must pass to "lipc-set-prop" to open up some WebPage on the Kindle? Whats the equivalent of "lipc-set-prop com.lab126.appmgrd start app://XYZ" on the Kindle 4?