修改/查看ssh端口
发布时间:2021-08-06 18:00:51浏览次数:
修改ssh端口
vi /etc/ssh/sshd_config
将Port修改为需要的端口
Port 212 重启ssh服务
service sshd restart
查看ssh端口
netstat -anp |grep 22netstat -anp |grep sshlsof -i :22
修改ssh端口
vi /etc/ssh/sshd_config
将Port修改为需要的端口
Port 212 重启ssh服务
service sshd restart
查看ssh端口
netstat -anp |grep 22netstat -anp |grep sshlsof -i :22
Copyright © 2016-2021 深圳市硕远科技有限公司 版权所有地址:深圳市龙华区河背工业区108创业园A301 粤ICP备16035280号 XML地图