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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    15,766
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page