05, Win7 on the OpenSSH installation and configuration 1, overview
SSH commands on Linux are very handy in network communication scenarios. Now Windows also supports SSH mode and remote host access. If you just use SSH simple access features, you need a lot of articles that also need to install Cygwin and other software. But there are some caveats to keep in mind.
2. Installation 2.1 Download
Install OpenSSH for Windows package Select the 64-bit version, Openssh-win64.zip. The following are:
https://github.com/PowerShell/Win32-OpenSSH/releases/download/v7.7.1.0p1-Beta/OpenSSH-Win64.zip
2.2 Decompression
The package does not need to be installed and can be decompressed.
2.3 Configuring Environment variables
path=D:\downloads\OpenSSH-Win64;..
3, generate company key pair, anonymous login
Note : No password designations must be double quotes, and Linux is single quotes.
D:\downloads\OpenSSH-Win64>ssh -t rsa -P ""
4, add public key information to the remote host Authentication Library 4.1 Copy the public key information to the remote host
D:\downloads\OpenSSH-Win64>scp id_rsa.pub [email protected]:~/id_rsa.put.win7
4.2 Adding a public key to the authentication library
$>cat ~/id_rsa.put.win7 ~/.ssh/authorized_keys
5. Realize remote Login
c:\>ssh [email protected]
6. Summary
Prior to the installation of the OpenSSH version older, and incompatible with Cygwin, resulting in a public-private key generation is always said unable to create under/home/administrator, install the latest version, and uninstall the Cygwin, use openssh alone!
05, Win7 on the installation and configuration of OpenSSH