ubuntu18.04安装ssh服务

1.安装openssh-server

sudo apt-get install openssh-server

2.启动ssh服务

sudo service ssh start

3.检测是否启动了ssh服务

ps aux|grep sshd

4. 自行编辑/etc/ssh/sshd_config配置openssh,如配置端口

posted @ 2018-12-10 14:55  Jello  阅读(4766)  评论(0编辑  收藏  举报