安装ssh
sudo apt-get install openssh-server
使用apt-get install openssh-server安装SSH后,使用service sshd start开启SSH服务时提示:
Failed to start sshd.service: Unit sshd.service not found.
添加ssh.service
systemctl enable ssh.service
sudo apt-get install openssh-server
使用apt-get install openssh-server安装SSH后,使用service sshd start开启SSH服务时提示:
Failed to start sshd.service: Unit sshd.service not found.
添加ssh.service
systemctl enable ssh.service