首页 > 技术文章 > ubuntu16.04启动ssh服务

daibigmonster 2017-12-12 22:15 原文

1 查看ssh服务是否开启

ps -e | grep ssh*

2如果没有则安装ssh

apt-get install openssh-server openssh-client

3再看服务就有ssh服务了

ps -e | grep sshd

4如果想要免密码登录就用指令

ssh-copy-id userb@10.124.84.20

推荐阅读