Ubuntu – After restart, how can I ssh into the system

remote accessserverssh

I have restarted my system remotely, but now when I try to ssh, I get the message

ssh: connect to host desktop.hostname port 22: Connection timed out

And when I try to ping it:

PING desktop.hostname (111.111.111.11) 56(84) bytes of data.
From localhost (222.222.222.22) icmp_seq=1 Destination Host Unreachable

Is there a way to remotely access my computer?

Best Answer

By default, connection to network go up when the user login. So, if you have not configured your machine to login automatically, your network connection is down.

The solution is to set the connection as a "system connection" in network manager: in this way the connection go up when the machine boot up, and do not wait for a user to login.

Related Question