- 报错
/usr/local/sbin/sshd -t -f /usr/local/etc/sshd_config
Privilege separation user sshd does not exist
- 解决办法1
编译/etc/passwd,增加这样一行
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
- 解决办法2
# groupadd sshd
addgroup sshdadduser sshd -G sshd