奇妙伞 Good Luck To You!

sshd_conf标准配置--转自阿里云盾

注:把端口改成自己需要设置的端口Port 22Protocol 2SyslogFacility AUTHPRIVPermitRootLogin noMaxAuthTries 3PermitEmptyPasswords noPasswordAuthentication yesChallengeResponseAuthentication noGSSAPIAuthentication yesGSSAPICleanupCredentials yesUsePAM yesAcceptEnv LANG LC

Rsync安装过程

一.服务端1.安装Rsyncyum install rsync2.配置rsyncd.conf (需要手动建)vi  /etc/rsyncd.conf------port = 55873 #端口,默认为873log file = /var/rsyncd.log #日志文件pid file = /var/rsyncd.pid #pid文件路径lock file = /var/rsyncd.lock #指定lock文件secrets file = /etc/rsyncd.pas #指定用户密