Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Secure Shell

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-22-2021, 12:39 AM
libove libove is offline
Registered User
 
Join Date: May 2021
Posts: 2
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
Reply With Quote
 

Tags
compatibility , openssh , ssh-keygen

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 06:00 AM.