Ubuntu 16.04 LTS如何设置SSH服务

1560阅读 0评论2018-08-23 黑马王子
分类:系统运维

首先,确定是否有安装SSH服务

root@ubuntu:/home/ccbipj# ps -e | grep ssh*

如果没有任何显示,则没有安装该服务


其次,安装SSH-server

root@ubuntu:/home/ccbipj# apt-get install openssh-server

接着,更重要的是安装SSH-client

root@ubuntu:/home/ccbipj# apt-get install openssh-client


确认安装SSH服务成功与否


如果,看到sshd表明ssh-server启动了;否则 /etc/init.d/ssh start 如下图


使用SSH的远程登录工具登录访问服务器,注意SSH默认服务端口是22(具体的配置文件通过:root@ubuntu:/etc/ssh# more ssh_config去查看)


上一篇:软柿子理论 高阶碾压式赚法
下一篇:搜索引擎下拉词接口