> For the complete documentation index, see [llms.txt](https://docs.neevcloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neevcloud.com/neevcloud-guide/troubleshoot/how-to-change-the-ssh-port.md).

# How to change the SSH Port

Navigate to the Neevcloud dashboard to click on the server <br>

<figure><img src="/files/y2YGIBQoVzY1IWgWwjE2" alt=""><figcaption></figcaption></figure>

Now set the password

<figure><img src="/files/PIpldv9Vh76LJ4Sxe9wy" alt=""><figcaption></figcaption></figure>

Now open the console

<figure><img src="/files/4X3JBIAy3Pm32crpvlAC" alt=""><figcaption></figcaption></figure>

Now, enter the username and password.

<figure><img src="/files/S6cjsw3PUYFBbznCFyig" alt=""><figcaption></figcaption></figure>

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.

```
vi /etc/ssh/sshd_config
```

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`.

<figure><img src="/files/jlp6xITmSaR8YkMVQe2f" alt=""><figcaption></figcaption></figure>

Also, comment out the PasswordAuthentication **no** line.

<figure><img src="/files/3qZ4FW0LbceYSFV7vT5P" alt=""><figcaption></figcaption></figure>

After this run the ssh restart command&#x20;

```
systemctl restart sshd
```

Here is the corrected sentence:

* **Now access the server using the changed SSH port.**

<figure><img src="/files/NA2FNSvad0SrRO5pEutZ" alt=""><figcaption></figcaption></figure>
