Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SSH Password Authentication Tweak Disables SFTP

Discussion in 'Security' started by markb14391, Jul 16, 2014.

  1. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    68
    Hi,

    We want to offer SFTP to our users. And we want to use the SSH password authentication tweak for security (only allowing key-based access).

    But, of course, when we activate the SSH password tweak, it also disables SFTP access.

    Is there a workaround?

    Of course we could allow password access with no root access (wheel user escalate to root), but we'd rather not.

    Any ideas?

    Thanks!

    Mark
     
  2. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    1,011
    Likes Received:
    89
    Trophy Points:
    78
    cPanel Access Level:
    DataCenter Provider
    Filezilla supports use of private keys. Import your private key in the filezilla settings, and when you use SFTP just leave the password blank.

    If you don't want to do that, you could enable pw auth, but set the ssh permitrootlogin setting to "without-password" which allows only key based logins for root.
     
  3. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    68
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,419
    Likes Received:
    1,956
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see you received a helpful answer. I am marking this thread as [Resolved].

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice