Report this

What is the reason for this report?

How to Install and Configure VNC on Ubuntu 20.04 using Different SSH Port (Not port 22)

Posted on December 23, 2020

Following these instructions but Step 3 does not work when the SSH port is not port 22: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04

What would the instructions be if the SSH port is port 9999 for example?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @en1apcw

Have you tried to specify the custom ssh port in the command in the example? The -p <port> option can be used to specify the port number to connect to when using the ssh command on Linux.

Can you please share what is the output that you get when you execute the ssh command?

Regards, Alex

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.