宝塔ssh服务连接失败解决方案

第一种:增加授权

ssh-keygen -q -t rsa -P "" -f /root/.ssh/id_rsa
cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
chmod 600 /root/.ssh/authorized_keys

第二种 重设

pip install paramiko==2.0.2
bt reload

猜你喜欢

转载自blog.csdn.net/weixin_33692284/article/details/87277835