Linux 打开SecureCRT时出错:A public key file has not been specified for this session,Would you like to...

时间:2024-03-23 20:07:13

打开SecureCRT ssh时出现对话框提示:

A public key file has not been specified for this session,Would you like to...

解决:

1、在虚拟机终端

①修改/etc/ssh/sshd_config的PasswordAuthentication项为yes,命令:

vi /etc/ssh/sshd_config

②重启服务命令:

service sshd restart

2、在SecureCRT ssh的会话端

右键选择会话选项,点击SSH2,把公钥的勾√去掉,确定,OK

Linux 打开SecureCRT时出错:A public key file has not been specified for this session,Would you like to...