Failed to open the host Key database file

1 SecureCRT安装连接问题

买了一个阿里云服务器用SecureCRT连接时阿里云服务器时出现

原因:启动SecureCRT时安装的位置与默认位置不一致,报以上错误

解决方法:

找到SecureCRT安装位置下的SSH2.ini修改

我的在D:\SoftWareInstall\SecureCRTPortable\Data\Settings\Config下

将C:\Users\X7TI\Downloads\SecureCRT_xp911.com\SecureCRTPortable\Data\Settings\Config\KnownHosts

改为D:\SoftWareInstall\SecureCRTPortable\Data\Settings\Config\KnownHosts

保存后重新打开SecureCRT

输入阿里云地址 用户名 密码连接成功

端口号22