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

  • Post author:
  • Post category:linux



打开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



版权声明:本文为weixin_42114280原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。