Linux: openssh: sshd_config: useprivilegeseparation; sshd [priv]

The useprivilegeseparation configuration option in OpenSSH is deprecated and no longer recommended. According to recent documentation and source code, the feature is now enabled by default and cannot be disabled. This change may result in the presence of a 'sshd [priv]' process in system processes, indicating privilege separation for security purposes." 110507485,7242726,Python等级转换:山东新高考选考科目原始分到等级分计算,"['Python编程', '数据处理', '教育技术', '算法应用']

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下面这个链接是比较老的一个讨论,是关于配置选项:useprivilegeseparation;
https://community.hpe.com/t5/operating-system-hp-ux/ssh-child-process-hanging-and-cannot-be-killed/td-p/5042853

从目前openssh的说明看,这个将要被废弃的一个配置,不建议再使用。而且从man sshd_config帮助里也看不到这个配置。在代码里,这个选项,设置与不设置都是enable的。
{ “useprivilegeseparation”, sDeprecated, SSHCFG_GLOBAL},

从代码看,这个会牵扯到一个sshd用户的使用,将sshd线程转换位sshd用户。


/*
 * unprivileged user when UsePrivilegeSeparation=yes;
 * sshd will change its privileges to this user and its
 * primary group.
 */
#ifndef 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

mzhan017

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值