SSH installation and automatic startup

MuggleZero 2021-11-25 18:06:46

1. install

Server side :
sudo apt-get install openssh-server
client :

sudo apt-get install openssh-client

  • 1.

2. start-up

sudo service sshd start

  • 1.

3. Set boot up

sudo systemctl enable ssh

  • 1.

explain :sudo Is to elevate permissions ,systemctl It's the service manager ,enable yes systemctl
Parameters of , Indicates that startup autorun is enabled ,ssh Is the name of the service to be set .

Please bring the original link to reprint ,thank
Similar articles

2021-11-25

2021-11-25