Hi,
I am working to improve my site's security.
In this site,
10 Tips for making your cPanel and WHM servers more secure | cPanel, Inc.
It says there
2) Secure SSH
Enable public key authentication for SSH and disable password authentication read more >>
Move SSH access to a different port. People are looking for port 22 as a possible way to access your servers. Moving SSH to a different port will add a simple way to deter those without specific knowledge of your server from easily discovering your SSH port.
You can modify the port that SSH runs on within /etc/ssh/sshd_config. Change the line that says #Port 22 to a different port such as: Port 1653. Make sure to keep your current SSH session open when testing the new port so you can change back to port 22 if the new port doesn’t work.
I cannot find the /etc/ssh/sshd_config in my directory. Under etc, I only have one folder related caching. I made sure that the hidden files are visible. Is there a way to configure it?
In addition, I am working to disable password authentication and instead enable public key authentication. Here Using Public Key Authentication for SSH and transfers | cPanel, Inc. it says
go to Tweak Security in the Security section of WebHost Manager and configure the SSH Password Auth Tweak. Make sure this is set to disabled by clicking on Disable Password Auth.
Under security section of my cpanel, I only have the following
Password Protect Directories
IP Deny Manager
SSL/TLS Manager
SSH/Shell Access
HotLink Protection
Leech Protect
GnuPG Keys
How do I activate it?
Thank you very much and Any help will be deeply appreciated. ^_^
I am working to improve my site's security.
In this site,
10 Tips for making your cPanel and WHM servers more secure | cPanel, Inc.
It says there
2) Secure SSH
Enable public key authentication for SSH and disable password authentication read more >>
Move SSH access to a different port. People are looking for port 22 as a possible way to access your servers. Moving SSH to a different port will add a simple way to deter those without specific knowledge of your server from easily discovering your SSH port.
You can modify the port that SSH runs on within /etc/ssh/sshd_config. Change the line that says #Port 22 to a different port such as: Port 1653. Make sure to keep your current SSH session open when testing the new port so you can change back to port 22 if the new port doesn’t work.
I cannot find the /etc/ssh/sshd_config in my directory. Under etc, I only have one folder related caching. I made sure that the hidden files are visible. Is there a way to configure it?
In addition, I am working to disable password authentication and instead enable public key authentication. Here Using Public Key Authentication for SSH and transfers | cPanel, Inc. it says
go to Tweak Security in the Security section of WebHost Manager and configure the SSH Password Auth Tweak. Make sure this is set to disabled by clicking on Disable Password Auth.
Under security section of my cpanel, I only have the following
Password Protect Directories
IP Deny Manager
SSL/TLS Manager
SSH/Shell Access
HotLink Protection
Leech Protect
GnuPG Keys
How do I activate it?
Thank you very much and Any help will be deeply appreciated. ^_^