I connect from one computer to another (both Ubuntu) via SSH using an SSH-key. Now I also installed a vnc server on one of them (vnc4server
) and use ssvnc (downloaded from the software center) to connect. In the viewer options, I choose "Use SSH" but nothing else. (except for entering a vnc password)
Is that a safe way of working remotely? Is the transferred data (screen information, keyboard input, etc) encrypted? If not, what is the SSH-option for?
Sorry about not knowing about anything. I am just wondering whether I really need to go through all of What's the best way to secure a Teamviewer/X11/VNC connection?
The short answer is, yes!
When
SSH
is used withVNC
, it means first anSSH
connection is established, then theVNC
connection is "tunneled" through theSSH
connection.Having said that I have never used
ssvnc
, but the name seems to suggest it uses SSH and VNC protocols. Then it stands to reason that it uses SSH tunnelling.I use
Remmina
, a versatile remote connection tool that allows using various protocols, includingSSH
,VNC
and both of them together.The question and answer you linked has some good advice. You can create an
SSH
tunnel on your own, and then useVNC
separately to connect to 127.0.0.1. But remmina and presumably ssvnc will do all that for you.Hope this helps