winscp连接linux失败解决方法

📅 2026/6/16 17:24:36
winscp连接linux失败解决方法
报错couldnt agree a key exchange algorithmcouldnt agree a host key algorithm available rsa-sha2-512 rsa-sha2-256解决方法echo KexAlgorithms diffie-hellman-group14-sha1 /etc/ssh/sshd_config echo HostKeyAlgorithms ssh-rsa /etc/ssh/sshd_config sudo systemctl restart sshd