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.
|