在Debian 12 的VPS上,装了个aaPanel,结果网页版的终端总是登录不上去,执行完下面的过程就可以登陆了。
自从 OpenSSH 8.3 开始,RSA Key 登录默认被禁用,并被认为不安全。
所以从 Ubuntu 22.04 和 Debian 12 开始,如果某些古老的业务需要使用 RSA Key 登录,你需要手动开启 RSA Key 登录。
终端运行
cat > /etc/ssh/sshd_config.d/enable_rsa_keys.conf << EOF
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
EOF
重启SSH服务
systemctl status ssh
或者
systemctl restart sshd
一个简易的黑苹果安装教程:https://www.mfpud.com/topics/10263/
一个联系QQ:577535622