Environment: Ubuntu 18.04
Convenient to transfer files remotely and fast.
Use apt install to install SSH server and client
sudo apt install openssh-client
sudo apt install openssh-server
If you just want to log in to another machine, SSH only needs to install the client side. If you want to enable the SSH service on this machine, you need to install the server side.
Enable SSH service
sudo systemctl start ssh.service //Open service
ps aux|grep ssh //Check if it is turned on
If the sshd field appears, it means that the SSH service has been enabled.
Recommended Posts