Skip to main content

Cpanel user SSH key creation

Comments

4 comments

  • Hostmill
    Just tried importing an existing key and got the following error message "Could not write key to /home/user/.ssh/id_dsa.pub". So is it that I have to create this file first or is this a permissions issue? If so what should the perms be for the .ssh directory? Assuming that this is the issue of course. Cheers
    0
  • Infopro
    [QUOTE]Having some trouble setting up SSH to have account holders access the server via SFTP only.
    cPanel users can use SFTP by default, not changes needed. They will need to know the proper port number though. cPanel > Files section > FTP Accounts > Special FTP Accounts section at bottom of this page. To the right of the main cPanel users name there, click Configure FTP Client to find options and manual settings details. You'll note the SFTP port listed there.
    0
  • Hostmill
    I have password auth turned off and want to force my clients to use SFTP with keys. I am attempting to simulate the process of setting up a new account as a test before going live. Still no luck :(
    0
  • cPanelMichael
    You may find this thread helpful: SSH Keys for cPanel Users Thank you.
    0

Please sign in to leave a comment.