首页 > 其他 > 详细

ssh

时间:2018-04-24 10:02:20      阅读:173      评论:0      收藏:0      [点我收藏+]
  • ssh server config 

 /etc/ssh/sshd_config  

   PermitRootLogin yes 

Port 22

PasswordAuthentication yes  // set to no to enable key autentication only

  • ssh client config

/etc/ssh/ssh_config 

 

  • rsync 

sync two directory , and sync the deltar every time when it is runned 

rsync -avzh /root/rpmpkgs /tmp/backups/
or
 rsync -avzh rpmpkgs/ root@192.168.0.101:/home/

ssh

原文:https://www.cnblogs.com/anyu686/p/8924513.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!