码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu16.04启动ssh服务

时间:2017-12-13 00:12:38      阅读:214      评论:0      收藏:0      [点我收藏+]

标签:密码   apt-get   安装   nss   blog   pen   openssh   open   gre   

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

ubuntu16.04启动ssh服务

标签:密码   apt-get   安装   nss   blog   pen   openssh   open   gre   

原文地址:http://www.cnblogs.com/daibigmonster/p/8030017.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!