Ubuntu安装ssh并开机启动

ubuntu安装ssh并开机启动1、安装openssh-serversudo apt-get install openssh-server2、开机自动启动ssh命令sudo systemctl enable ssh3、关闭ssh开机自动启动命令sudo systemctl disable ssh4、