How to connect to a Ubuntu PC remotely by SSH

Solution 1:

Sure you can! First ifconfig to get your IP address.

Then, to connect, you need to type in a terminal:

ssh username@address_ip

So, if for example your name is tommaso and your ip is 123.123.123.123 you need to type ssh [email protected].

It will ask you the user password, of course!

If you need graphical interfaces, add the -x option after ssh.

If it doesn't work, try to install openssh-server on the server side. Thus something like sudo apt-get install openssh-server.