Hello,
I am looking to change the port 22 of my VPS for another port in etc/sshd_config. Right now, Password Authentication is currently disabled in Security/WHM.
I am looking at my sshd_config more carefully. I compare with the example of sshd_config File given to Securing SSH
Questions:
1) In my sshd_config file, I see: PasswordAuthenticationno (without empty space between PasswordAuthentication and No). In the example of cPanel, there is an empty space. Is it normal ?
2) I do not think I'll use SSH / port 22 on this server. Right now, Password Authentication is disabled in Security/WHM. Therefore, can I erase without problem the port 22 in Allow incoming TCP ports of the CSF firewall configuration file ? Sorry if the question is stupid.
3) Can I choose one of the following port (below 1024): 223, 223 ... 299 (by example).
4) Do I have to change ListenAddress with my own IP for better security ?
Regards
I am looking to change the port 22 of my VPS for another port in etc/sshd_config. Right now, Password Authentication is currently disabled in Security/WHM.
I am looking at my sshd_config more carefully. I compare with the example of sshd_config File given to Securing SSH
Questions:
1) In my sshd_config file, I see: PasswordAuthenticationno (without empty space between PasswordAuthentication and No). In the example of cPanel, there is an empty space. Is it normal ?
2) I do not think I'll use SSH / port 22 on this server. Right now, Password Authentication is disabled in Security/WHM. Therefore, can I erase without problem the port 22 in Allow incoming TCP ports of the CSF firewall configuration file ? Sorry if the question is stupid.
3) Can I choose one of the following port (below 1024): 223, 223 ... 299 (by example).
4) Do I have to change ListenAddress with my own IP for better security ?
Regards