File README.SUSE of Package submit-ip
Steps to get your clients to submit their latest IP address via SSH to your server:
1) create an SSH-Key as root on your clients:
~# ssh-keygen -b 2048 -f /root/.ssh/submit-ip
Enter NO passphrase.
2) adapt the settings in /etc/sysconfig/submit-ip to your needs
On your server:
1) create a new standard user
2) copy the public key /root/.ssh/submit-ip.pub from your client in /home/$user/.ssh/authorized_keys
3) adapt the line with the key in /home/$user/.ssh/authorized_keys - prefix with the following:
command="/usr/bin/receive-ip.sh" ssh-rsa AAAAB3N....
4) make sure, the file /home/$user/.ssh/authorized_keys belongs to your user and has permissions 600 set