Ubuntu安装openssh

Ubuntu安装openssh
1.更新源列表

sudo apt-get update

2.安装openssh

sudo apt-get install openssh-server

3.查看ssh服务是否启动

sudo ps -e |grep ssh	# sshd服务是否开启,开启说明启动成功

4.配置文件修改 "/etc/ssh/sshd_config"

vim /etc/ssh/sshd_config

5.查看IP地址

sudo ifconfig

6.使用Putty连接

posted @ 2019-07-15 07:23  cicarius  阅读(18409)  评论(0编辑  收藏  举报