rsync远程文件传输


[root@rhel5 ~]# rsync -a log.tar.gz root@192.168.124.129:/tmp
root@192.168.124.129's password:
Permission denied, please try again.
root@192.168.124.129's password:
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(260) [sender=2.6.8]
[root@rhel5 ~]# rsync log.tar.gz root@192.168.124.129:/tmp
root@192.168.124.129's password:

拷贝回来:
rsync root@192.168.124.129:/tmp/log.tar.gz ./



加密学:
对称加密 一把锁 多把钥匙
非对称加密(RSA) 多把锁对应一把钥匙
单向不可逆:md5 一旦加密再也解不开

公钥:锁

私钥:钥匙


*******远程文件的密钥传输配和任务计划实现定期备份******

原文地址:https://www.cnblogs.com/jamesbd/p/3567643.html