Jump to content


Photo

ssh-keygen key creation


  • Please log in to reply
4 replies to this topic

#1 2BrightSparks

2BrightSparks
  • Members
  • 44 posts
  • Gender:
    Male

Posted 24 January 2010 - 02:00 AM

Hi, does anyone know how to create a valid SFTP key for use with the SmartFTP library (V1.5.29.0) using ssh-keygen on Debian? We have a customer who says using "ssh-keygen -t rsa" creates a key file that doesn't work (LoadFile into PrivateKey gives an "Unspecified error" exception in Delphi). However, we don't use Debian so don't know anything about ssh-keygen. Thanks

#2 mb

mb

    Developer

  • Administrators
  • 11521 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 24 January 2010 - 07:34 AM

Please tell your customer to send us an example keyfile.

Thanks
Mat

#3 2BrightSparks

2BrightSparks
  • Members
  • 44 posts
  • Gender:
    Male

Posted 24 January 2010 - 07:45 AM

Will do, thanks. I'll send it to the support email address once I receive it.

#4 2BrightSparks

2BrightSparks
  • Members
  • 44 posts
  • Gender:
    Male

Posted 24 January 2010 - 11:45 PM

It seems the problem was as simple has him using the wrong password for the key. However, this begs the question as to how does the program know that that is the problem? i.e. where do I get the error code from with LoadFile?

#5 mb

mb

    Developer

  • Administrators
  • 11521 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 25 January 2010 - 01:15 AM

The next build should return E_KEYFILE_PASSWORD in this case.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users