# 修改sshd默认端口 比如将默认端口22改为2222 # 在默认配置文件 /etc/ssh/sshd_config 追加如下内容( 将arcfour cipher 停用) Ciphers aes128-ctr,aes192-ctr,aes256-ctr # 禁用弱MAC算法,在默认配置文件 /etc/ssh/sshd_config追加如下内容 MACs hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-md5-96, hmac-sha2-256,hmac-sha2-512,hmac-ripemd160@openssh.com
转载于:https://blog.51cto.com/molewan/1980231