Question

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

Posted December 23, 2020 345 views
UbuntuMiscellaneousUbuntu 20.04

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?

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.

×
Submit an Answer
1 answer

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