由于意外关闭,linux 中秘钥的权限会跟着更改,至于原因暂时未知,解决办法如下:

cd /etc/ssh
chmod 400 ./*
sudo systemctl restart sshd

xshell再次连接,成功。