2024/1/13学习进度笔记

SSH无法连接问题: java.io.IOException: End of IO Stream Read

使用下面的命令:修改对应权限

chmod 600 /etc/ssh/ssh_host_rsa_key
chmod 600 /etc/ssh/ssh_host_dsa_key
chmod 600 /etc/ssh/ssh_host_ecdsa_key
chmod 600 /etc/ssh/ssh_host_ed25519_key

重启ssh生效,即可连接。

posted @ 2024-01-13 20:48  努力学习2333  阅读(17)  评论(0)    收藏  举报