开发者社区> 问答> 正文

linux中隐藏 OpenSSH 版本,要求 SSH 源代码并进行重新编译的方法是什么?

linux中隐藏 OpenSSH 版本,要求 SSH 源代码并进行重新编译的方法是什么?

展开
收起
游客qzzytmszf3zhq 2021-12-05 18:06:53 469 0
1 条回答
写回答
取消 提交回答
  • # vi /etc/ssh/sshd_config
    VerifyReverseMapping yes	# Turn on  reverse name checking
    UsePrivilegeSeparation yes	# Turn on privilege separation
    StrictModes yes			# Prevent the use of insecure home directory    
    				# and key file permissions
    AllowTcpForwarding no		# Turn off , if at all possible 
    X11Forwarding no		# Turn off , if at all possible
    PasswordAuthentication no	# Specifies whether password authentication is 
    				# allowed.  The default is yes. Users must have 
    				# another authentication method available .
    
    2021-12-05 18:07:04
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
冬季实战营第二期:Linux操作系统实战入门 立即下载
Decian GNU/Linux安全合规之路 立即下载
从 Linux 系统内核层面来解决实际问题的实战经验 立即下载