- 论坛徽章:
- 0
|
本帖最后由 hfy9013 于 2013-01-20 18:47 编辑
回复 12# blackold
这次怎么又出现这样的错误了?我的这个询问为什么和别人的不一样?(红色圈里)
- Huangfu@Huangfu-PC ~
- $ ssh-host-config
- *** Warning: Running this script typically requires administrator privileges!
- *** Warning: However, it seems your account does not have these privileges.
- *** Warning: Here's the list of groups in your user token:
- None
- Users
- HomeUsers
- *** Warning: This usually means you're running this script from a non-admin
- *** Warning: desktop session, or in a non-elevated shell under UAC control.
- *** Warning: Make sure you have the appropriate privileges right now,
- *** Warning: otherwise parts of this script will probably fail!
- *** Query: Are you sure you want to continue? (Say "no" if you're not sure
- *** Query: you have the required privileges) (yes/no) yes
- *** Info: Generating /etc/ssh_host_key
- *** Info: Generating /etc/ssh_host_rsa_key
- *** Info: Generating /etc/ssh_host_dsa_key
- *** Info: Generating /etc/ssh_host_ecdsa_key
- *** 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/READ ME.privsep.
- *** Query: Should privilege separation be used? (yes/no) no
- *** Info: Updating /etc/sshd_config file
- *** Query: Do you want to install sshd as a service?
- *** Query: (Say "no" if it is already installed as a service) (yes/no) yes
- *** Query: Enter the value of CYGWIN for the daemon: [] ntsec tty
- *** Info: On Windows Server 2003, Windows Vista, and above, the
- *** Info: SYSTEM account cannot setuid to other users -- a capability
- *** Info: sshd requires. You need to have or to create a privileged
- *** Info: account. This script will help you do so.
- *** Info: You appear to be running Windows XP 64bit, Windows 2003 Server,
- *** Info: or later. On these systems, it's not possible to use the LocalSystem
- *** Info: account for services that can change the user id without an
- *** Info: explicit password (such as passwordless logins [e.g. public key
- *** Info: authentication] via sshd).
- *** Info: If you want to enable that functionality, it's required to create
- *** Info: a new account with special privileges (unless a similar account
- *** Info: already exists). This account is then used to run these special
- *** Info: servers.
- *** Info: Note that creating a new user requires that the current account
- *** Info: have Administrator privileges itself.
- *** Info: No privileged account could be found.
- *** Info: This script plans to use 'cyg_server'.
- *** Info: 'cyg_server' will only be used by registered services.
- *** Query: Do you want to use a different name? (yes/no) no
- *** Query: Create new privileged user account 'cyg_server'? (yes/no) no
- *** ERROR: There was a serious problem creating a privileged user.
- *** Query: Do you want to proceed anyway? (yes/no) yes
- *** Warning: Expected privileged user 'cyg_server' does not exist.
- *** Warning: Defaulting to 'SYSTEM'
- /usr/bin/cygrunsrv: Error installing a service: OpenSCManager: Win32 error 5:
- ▒ܾ▒▒▒▒ʡ▒
- *** ERROR: Installing sshd as a service failed!
- *** Warning: Host configuration exited with 2 errors or warnings!
- *** Warning: Make sure that all problems reported are fixed,
- *** Warning: then re-run ssh-host-config.
复制代码 |
|