查看ssh是否启动,重庆电脑外包公司,有sshd说明已经启动
sudops-e |grepssh
启动ssh服务
sudoservicesshstart
下图是没有安装ssh服务时,运行的效果
安装ssh服务
sudoapt-getinstallopenssh-server