文章目录
Failed to open the host key database file
删除安装目录下的\Data\Settings\Config\SSH2.ini
文件
配置显示颜色,便于观看
![](https://img-blog.csdnimg.cn/20210518104610717.png#pic_center?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3BvcDU0MTExMQ==,size_16,color_FFFFFF,t_70)
在终端模拟软件使用“鼠标滚动”
SecureCRT公钥连接主机
tools -> create public key -> 选择加密算法(rsa)并且可选择加密私钥,同时加密长度设置最长,最后保存成id_rsa,生成全局id_rsa.pub。
选择生成OpenSSH 密钥格式
拷贝其中公钥id_rsa.pub的内容到服务器上的.ssh文件夹下的authorized_keys文件中
authorized_keys 可直接手动创建
![](https://i-blog.csdnimg.cn/blog_migrate/a2bfcc97879b6dcd28d2ab39829b6a4b.png)
Key exchange failed.
Key exchange failed.
No compatible key exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256
之前一直用的crt版本低了,不支持curve25519-sha256之类的加密算法,ecureCRT 8+版本增加了对curve25519-sha256密钥交换算法的支持,更新至新版本可解决。
vt100字体
D:\Program Files\VanDyke Software\Clients vt100.fon
安装vt100 字体