使用XShell导入KEY的时候报“Failed to import the user key!”错误
2012-07-23 15:27
1526 查看
这个错误表明导入的private key文件不是XShell所支持的,有三种可能:
将Public Key当成Private Key导入。。。
使用Putty的ppk文件,囧,请使用PUTTY的puttygen.exe转换成OPENSSH格式的
Key文件有多种格式(SSH1-RSA, SSH2-RSA, SSH2-DSA, SSH.COM, OPENSSH2-RSA, OPENSSH2-DSA, PPK, SSH2-IETF SECSH[RSA,DSA]),目前看来XShell支持SSH1-RSA, OpenSSH2-RSA, OpenSSH2-DSA, SSH.COM, NetSarang User Key。。。所以如果使用了标准的SSH2-RSA, SSH2-DSA这两种PrivateKey的同学请试着转换为OpenSSH格式(SecureCRTの場合:Tools->Convert Private Key to OpenSSH Format)后再导入。
注:
XShell可以生成OPENSSH2-RSA, OPENSSH2-DSA, SSH2-IETF SECSH(RSA,DSA)这几种格式的KEY文件并能识别,并能互相转换
SecucreCRT可以生成SSH1-RSA, SSH2-RSA, OPENSSH2-RSA, OPENSSH2-DSA这几种格式的KEY文件,并能互相转换
puttygen.exe可以生成SSH1-RSA, PPK, OPENSSH2-RSA, OPENSSH2-DSA, SSH.COM格式的KEY文件,除了SSH1格式都能进行互相转换,不过如果遇到如下报错,请更新你的puttygen.exe即可(http://winscp.net/forum/viewtopic.php?t=8324)
“Couldn't load private key (ciphers other than DES-EDE3-CBC not supported)”
由此可见OPENSSH2格式的key文件比较通用一些。
将Public Key当成Private Key导入。。。
使用Putty的ppk文件,囧,请使用PUTTY的puttygen.exe转换成OPENSSH格式的
Key文件有多种格式(SSH1-RSA, SSH2-RSA, SSH2-DSA, SSH.COM, OPENSSH2-RSA, OPENSSH2-DSA, PPK, SSH2-IETF SECSH[RSA,DSA]),目前看来XShell支持SSH1-RSA, OpenSSH2-RSA, OpenSSH2-DSA, SSH.COM, NetSarang User Key。。。所以如果使用了标准的SSH2-RSA, SSH2-DSA这两种PrivateKey的同学请试着转换为OpenSSH格式(SecureCRTの場合:Tools->Convert Private Key to OpenSSH Format)后再导入。
注:
XShell可以生成OPENSSH2-RSA, OPENSSH2-DSA, SSH2-IETF SECSH(RSA,DSA)这几种格式的KEY文件并能识别,并能互相转换
SecucreCRT可以生成SSH1-RSA, SSH2-RSA, OPENSSH2-RSA, OPENSSH2-DSA这几种格式的KEY文件,并能互相转换
puttygen.exe可以生成SSH1-RSA, PPK, OPENSSH2-RSA, OPENSSH2-DSA, SSH.COM格式的KEY文件,除了SSH1格式都能进行互相转换,不过如果遇到如下报错,请更新你的puttygen.exe即可(http://winscp.net/forum/viewtopic.php?t=8324)
“Couldn't load private key (ciphers other than DES-EDE3-CBC not supported)”
由此可见OPENSSH2格式的key文件比较通用一些。
相关文章推荐
- ATL项目编译注册dll的时候报权限错误:error MSB8011: Failed to register output. Please try enabling Per-user Redirection or register the component from a command prompt with elevated permissions.
- 在启动 Eclipse 时候,弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 关于使用springmvc时Failed to load resource: the server responded with a status of 400 (Bad Request)错误可能原因
- 关于使用springmvc时Failed to load resource: the server responded with a status of 400 (Bad Request)错误可能原因
- VM安装错误提示(Failed to create the requested registry keyKey:Installer Error: 1021)
- 导入Theano警告解决:failed to import scipy.linalg.blas, and theano flag blas.ldflags is empty
- VMWare Workstation 7 安装错误(Failed to create the requested registry keyKey:Installer Error: 1021)
- VMWare Workstation 7 安装错误(Failed to create the requested registry keyKey:Installer Error: 1021)
- 使用SqlDependency后,数据库日志增长过快,并有错误 Service Broker needs to access the master key in the database .
- 错误:created a ThreadLocal with key of type ……but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
- unity上的资源包导入错误 Failed to import package with error: Couldn't decompress package
- 使用theano时,“Runtime Error: Failed to import pydot”错误
- 在使用eclipse 运行 maven install的时候,出现这个错误:Unable to locate the Javac Compiler in:…
- 在使用eclipse 运行 maven install的时候,出现这个错误:Unable to locate the Javac Compiler in:…
- VM安装错误提示(Failed to create the requested registry keyKey:Installer Error: 1021)
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- wince emulator 连网错误:failed to open the vpc network driver
- Eclipse使用GIT进行pull时候的错误 : The current branch is not configured for pull
- 解决在使用client object model的时候报“object does not belong to a list”错误