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连接


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM