一、安装
复制代码
1
2sudo apt-get install -y openssh-server ps -ef | grep sshd
这样才能远程到这台机器上,用的ssh协议
二、启动
复制代码
1
2
3
4sudo /etc/init.d/ssh resart sudo /etc/init.d/ssh status sudo /etc/init.d/ssh start/stop
转载于:https://my.oschina.net/cectsky/blog/3006413
最后
以上就是甜蜜灯泡最近收集整理的关于ubuntu安装openssh-server的全部内容,更多相关ubuntu安装openssh-server内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复