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

Following these instructions but Step 3 does not work when the SSH port is not port 22:

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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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