Navigate to the Neevcloud dashboard to click on the server
Now set the password
Now open the console
Now, enter the username and password.
Next, open the SSH configuration file and change port 22 to any value between 30,000 and 65,000.
Run the following command to open the ssh file.
Now, uncomment the port, remove 22, and set it to any port number.
Also, uncomment the PermitRootLogin directive and change its value from no to yes.
PermitRootLogin
no
yes
Also, comment out the PasswordAuthentication no line.
After this run the ssh restart command
Here is the corrected sentence:
Now access the server using the changed SSH port.
Last updated 11 months ago
vi /etc/ssh/sshd_config
systemctl restart sshd