ssh-keygen生成的密钥都变成以-----BEGIN OPENSSH PRIVATE KEY-----开头的字符串,导致finalshell无法使用ssh证书进行登录。
这里使用PuTTY对ssh私钥进行格式转换。
下载地址https://www.puttygen.com/#Download_PuTTYgen_on_Windows
然后安装,按如下步骤导入你的私钥,并生成老格式的私钥:
ssh-keygen生成的密钥都变成以-----BEGIN OPENSSH PRIVATE KEY-----开头的字符串,导致finalshell无法使用ssh证书进行登录。
这里使用PuTTY对ssh私钥进行格式转换。
下载地址https://www.puttygen.com/#Download_PuTTYgen_on_Windows
然后安装,按如下步骤导入你的私钥,并生成老格式的私钥: