I need to access Ubuntu Desktop 18.x on AWS from my Mac. I have used putty and and am able to connect via ssh.
I have added the -i option to include the pem file in addition to the tunneling info above.
When I open RealVNC on the Mac and attempt to connect to Ubuntu on AWS, I get a message with a permission denied message.
I can get it working with Putty (setting tunnel and auth info in the Putty GUI) on Windows 10 with no issues.
Any suggestions? I have spent quite a bit of time searching and also noticed in the comments on the link above that other users had the same problem (no one posted a solution). Not sure what I am doing incorrectly on the Mac that prevents me from accessing the desktop.