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!

Problems with SSH keys / SSH Port

Discussion in 'Security' started by Shadowrider, Apr 17, 2017.

  1. Shadowrider

    Shadowrider Member

    Joined:
    Jan 29, 2015
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Moss, Norway
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm very sorry if this is the wrong category, but it was the best i could find.

    I had problems with gettings SSH Keys to work, it gave an error that key was refused even thoug file was there. I then ran a script to fix this after reading the forums, and everything worked just fine.

    However, i had changed SSH port to 2222, and the scipt reset port back to 22. When changing it again, the error came back. Thus my question is this: How can i change SSHD port, and still be able to login with ppk-key file?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,352
    Likes Received:
    404
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    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