ssh服务添加加密码算法

来源:互联网 发布:linux的top命令 编辑:程序博客网 时间:2024/05/22 07:53
sftpdriver提示incompatible, 连接失败


在sshd_config最后加上这个:

#Legacy changes
KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
原创粉丝点击