在尝试解决在 Windows 8.1 上使用 Cygwin + SSH 的一些问题时,我想知道为什么ssh-host-config
脚本会从头开始创建两个配置 OpenSSH 的新帐户?(这有必要吗?)
这两个帐户是:cyg_server
和sshd
,使用默认选择+提权和服务安装时。我了解第一个仅用于启动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)