小编not*_*bit的帖子

为什么 ssh-host-config 在 Windows 8.1 上的 Cygwin 中创建两个用户?

在尝试解决在 Windows 8.1 上使用 Cygwin + SSH 的一些问题时,我想知道为什么ssh-host-config脚本会从头开始创建两个配置 OpenSSH 的新帐户?(这有必要吗?)

这两个帐户是:cyg_serversshd,使用默认选择+提权和服务安装时。我了解第一个仅用于启动Cygwin SSHd服务,但我不了解第二个的功能。我搜索了 Cygwin 档案,唯一的开发人员解释是“因为它被设计成这样做”。还建议不要将这些用于实际登录。

这是我的安装:

-----------------------------------------------------------
ssh-keygen: generating new host keys: RSA1 RSA DSA ECDSA ED25519
*** Info: Creating default /etc/ssh_config file
*** Info: Creating default /etc/sshd_config file
*** Info: Privilege separation is set to yes by default since OpenSSH 3.3.
*** Info: However, this requires a non-privileged account called 'sshd'.
*** Info: For more info on privilege separation read /usr/share/doc/openssh/README.privsep.
*** …
Run Code Online (Sandbox Code Playgroud)

ssh cygwin cygwin-sshd windows-8.1

12
推荐指数
1
解决办法
2万
查看次数

标签 统计

cygwin ×1

cygwin-sshd ×1

ssh ×1

windows-8.1 ×1