您现在的位置是:热点 >>正文
linux系统修改远程连接端口号和关闭远程链接
热点2255人已围观
简介linux系统修改远程连接端口号和关闭远程链接我要评论 2014/07/09 20:07:01 来源:绿色资 ...
/usr/sbin/sshd -p 1433
为增强安全
先增加一个普通权限的用户:
#useradd uploader
#passwd uploader
//设置密码
生产机器禁止ROOT远程SSH登录:
#vi /etc/ssh/sshd_config
把
PermitRootLogin yes
改为
PermitRootLogin no
重启sshd服务
#service sshd restart
关键词:linux,远程连接
阅读本文后您有什么感想?改远 已有 人给出评价!
- 0


- 0


- 0


- 0


- 0


- 0


linux系统修改远程连接端口号和关闭远程链接
Linux修改ssh端口22
vi /etc/ssh/ssh_config
vi /etc/ssh/sshd_config
然后修改为port 8888
以root身份service sshd restart (redhat as3)
使用putty,程连程链端口8888
Linux下SSH默认的端口是22,为了安全考虑,
Tags:
转载:欢迎各位朋友分享到网络,但转载请说明文章出处“在所不辞网”。http://ti2xchinarealism.com.chinarealism.com/news/18f1399968.html
相关文章
这些家庭垃圾分类知识,你都知道吗?
热点这些家庭垃圾分类知识,你都知道吗?针对这些小伙伴们普遍疑惑的问题,教大家几个居家分类小窍门。客厅客厅作为家中最活跃的区域,产生的生活垃圾种类较多,主要可分为易腐垃圾、其他垃圾、可回收物三种,可以配置易 ...
【热点】
阅读更多2018小升初英语作文: My English classroom
热点this is my english classroom . it is not big and not small . we usually study in the classroom . the ...
【热点】
阅读更多2018小升初英语作文:My Good Friend
热点My name is Liu Xiaoling.I have a good friend . Her name is Liu Yun. She lives in China . Her mather ...
【热点】
阅读更多