- File your own online download or Baidu Cloud disk extract can
- Execute Setupssh.exe, keep next down.
- Copy the Sshd_config file from the installation directory to the C:\Program files (x86) \openssh\etc\ directory
The contents of the file are as follows:
Port 26333Protocol 2ListenAddress 0.0.0.0PermitRootLogin yesstrictmodes yesrsaauthentication noignoreuserknownhosts Yespasswordauthentication yesuseprivilegeseparation Nousedns nomaxstartups 10:30:60banner/etc/banner.txtsubsystem sftp /usr/sbin/sftp-server
- Execute all program directories in activate a User, select an account to activate, and enter the password
- Run the window input services.msc, locate the Opensshserver service, click the Log on option, modify the account to activate the account, and enter the password again
- Restart Opensshserver Service
- Test
Ssh-p 26333 [email protected]
- If you need no password to log in, on the Linux server, enter the command: Ssh-keygen, all the way to generate a certificate file
- Cat/root/.ssh/id_rsa.pub Copy the contents of the file to: C:\Program files (x86) \icw\home\jerry.huang\.ssh file.
- Start enjoying the pleasure of managing Windows with Linux code ~
Windows Server Installation OpenSSH