View Single Post
Old 10-29-2015, 02:17 AM   #80
aldoem
Junior Member
aldoem began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2015
Device: pocketbook rouch 2
Sync from Server_IP to Pocketbook, triggered from Pocketbook via Utelnetd.
ssh and rsync program are in /mnt/ext1/system/bin/
need a ssh key: /mnt/ext1/applications/ssh_key in pocketbook
and in server_IP add the public key to ~/.ssh/authorized_keys file
command:
rsync -arce "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /mnt/ext1/applications/ssh_key" user@Server_IP:/Path_to_Library/ /mnt/ext1/Path_to_Library/ 2>/dev/null
build app in progress...
thanks @rkomar for your help.
aldoem is offline   Reply With Quote