ubuntu system to enable remote login shell

Ubuntu desktop system after installation, you want to use the remote shell landed, will prompt

Connecting to 192.168.220.133:22...
Could not connect to '192.168.220.133' (port 22): Connection failed.

Type `help' to learn how to use Xshell prompt.

Because the service is not installed SSH

1. Check the system is installed ssh-server service, the default install only ssh-client services:



   sudo ps -e | grep ssh

Write pictures described here
2. Install SSH service:



    sudo apt-get install openssh-server

The final installation is complete and has started
Write pictures described here

Then you can use the shell to a remote landing Ubuntu server.
Write pictures described here

Published 46 original articles · won praise 13 · views 60000 +

Guess you like

Origin blog.csdn.net/luliuliu1234/article/details/80947403