05, Win7 on the installation and configuration of OpenSSH

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.