Quantcast
Channel: Automatic and secure file transfer over two servers - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 4 View Live

Answer by Gewure for Automatic and secure file transfer over two servers

I suggest a cronjob using scp to copy files. Write a shellscript backupToServer.sh, which tars your files-to-backup and then puts them on the server with scp /path/to/backup/tar...

View Article


Answer by Archemar for Automatic and secure file transfer over two servers

you almost have it. user on server B must be given /bin/false as shell, this will forbid interactive login from server A (but file on server B can still be fetched or deleted). Edit: using /bin/false...

View Article


Automatic and secure file transfer over two servers

the problem is how to automatically transfer backups from server A to server B in the best possible way in terms of security? Here is what comes to my mind: authorize server A pub key to access server...

View Article

Answer by roaima for Automatic and secure file transfer over two servers

Do not allow server A to have implied ssh access to server B, nor allow server B to have implied ssh access to server A. Different passwords. No certificate-based logins. No trust.Set up rsync as a...

View Article
Browsing latest articles
Browse All 4 View Live