Problem with generated SSH public key files

This forum is not monitored by the SmartFTP staff. To contact technical support see KB: How to request technical support.
Post Reply
toplisek
Posts: 11
Joined: Sat Oct 01, 2011 8:36 am

Problem with generated SSH public key files

Post by toplisek » Fri Oct 21, 2016 10:29 am

I have tested many times.
Usually it is used PuTTYgen and it works without any issue.
 
Software SmartFTP is also perfectly working when connecting with such pairs but generated keys are not compliant with the control panels. It will not be within one line (keys are generated using SmrtFTP). So, manually changing will also not working when I set in one line.
 
My guess is only that pairs are not compliant.
Last edited by toplisek on Fri Oct 21, 2016 10:31 am, edited 1 time in total.

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Problem with generated SSH public key files

Post by mb » Fri Oct 21, 2016 1:39 pm

I have a hard time to understand your problem. If you are having problems using the private key you generate with Puttygen, please send the private key file to support at smartftp.com

toplisek
Posts: 11
Joined: Sat Oct 01, 2011 8:36 am

Re: Problem with generated SSH public key files

Post by toplisek » Sat Nov 05, 2016 3:12 pm

Thank you for your quick reply.
Please find ticket: 3336

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Problem with generated SSH public key files

Post by mb » Mon Nov 07, 2016 4:44 pm

It turned out the problem is with cPanel. It only supports OpenSSH and Putty public key files. It does not support the standardized RFC 4716 SSH key format.
 
To use the public key with cPanel, select the OpenSSH key format in the Public Key Export, Save As... dialog.
Last edited by mb on Mon Nov 14, 2016 4:56 pm, edited 1 time in total.

toplisek
Posts: 11
Joined: Sat Oct 01, 2011 8:36 am

Re: Problem with generated SSH public key files

Post by toplisek » Mon Nov 14, 2016 9:40 am

WHM will only accept:
 
1) OpenSSH format keys
2) Putty PPK keys
 
So, this is not an issue from SmartFTP.

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Problem with generated SSH public key files

Post by mb » Mon Nov 14, 2016 4:53 pm

In the Public Key Export, Save As... dialog. You can select the format. OpenSSH is one option.

Post Reply