install ssh by Cygwin about windows

这里写链接内容

Administrator@ALiYunPC ~
$ ssh-host-config

* Info: Generating missing SSH host keys
* Query: Overwrite existing /etc/ssh_config file? (yes/no) no
* Query: Overwrite existing /etc/sshd_config file? (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
* 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: It’s not possible to use the LocalSystem account for services
* Info: that can change the user id without an explicit password
* Info: (such as passwordless logins [e.g. public key authentication]
* Info: via sshd) when having to create the user token from scratch.
* Info: For more information on this requirement, see
* Info: https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1

* Info: If you want to enable that functionality, it’s required to create
* Info: a new account with special privileges (unless such an 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: The following privileged accounts were found: ‘cyg_server’ .

* 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: Please enter the password for user ‘cyg_server’:
* Query: Reenter:

* Info: The sshd service has been installed under the ‘cyg_server’
* Info: account. To start the service now, call net start sshd' or
*** Info:
cygrunsrv -S sshd’. Otherwise, it will start automatically
* Info: after the next reboot.

* Info: Host configuration finished. Have fun!

你可能感兴趣的:(web基础)