#1
|
|||
|
|||
SecureCRT (v7.3.7) ssh-keygen file format compatibility?
I've seen this discussed many years in the past, but the advice received back then doesn't seem to work. That is, a decade ago VanDyke stated that SecureCRT can read SSH key files as generated by ssh-keygen, but I'm still getting "Unknown file format".
Using SecureCRT v7.3.7. Generated OpenSSH keypair with: ssh-keygen -b 2048 -t rsa -f id_rsa2048 -N {passphrase} Configured a session in SecureCRT for PublicKey (only), selected to a Session keyfile, choosing the file "id_rsa2048". On connecting the first time, I do get the proper Server host key recognize/change/accept dialog once; and then on all connection attempts SecureCRT fails with: "The private key file could not be found: C:\Users\myusername\.ssh\id_rsa2048 Note that the public key and private key file must have the same name (e.g. "Identity.pub" and "Identity") and must be located in the same folder. Unknown file format" Here's a redacted copy of the contents of id_rsa2048.pub: ssh-rsa AAAAB3NzaC1yc2EAA.......................(about 240 characters total).........I2CaZhwiCbKHpFwd myusername@myhostname I generated the id_rsa2048 file with the same user as whom I'm running SecureCRT, and I've confirmed that there are no weird ACLs that would stop me (running SecureCRT) from reading these/my files. So the "Unknown file format" error would suggest that SecureCRT v7.3.7 is having a problem reading the RSA 2048 key files generated by ssh-keygen. What am I doing wrong? many thanks, Jay |
#2
|
|||
|
|||
Hi Jay,
Version 7.3.x is about 8 years old itself! ![]() It's often useful to see trace options output which provides debugging information that may help us better understand the problem that you're experiencing. To enable trace options output:
NOTICE: The requested troubleshooting data may include sensitive information (usernames, passwords, publicly-accessible host names or IP addresses, etc.).
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
Hi Jay,
Version 7.3.7 is too old to support reading private keys generated with newer versions of OpenSSH's ssh-keygen utility. Is the problem resolved with this same key file if you use the current version of SecureCRT, v9.0.2?
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#4
|
|||
|
|||
Thanks Brenda, v9 in trial mode does seem to be able to read the ssh2 keygen file.
Ok, so, time to upgrade anyway... to the license page, Batman! :-) |
#5
|
|||
|
|||
Hi Jay,
Na na na na na na na na ... BATMAN! I am glad the current, official release has the support you need. ![]()
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
![]() |
Tags |
compatibility , openssh , ssh-keygen |
Thread Tools | |
Display Modes | |
|
|