Configuring SSH under Windows (freesshd + putty)

Source: Internet
Author: User
Tags python script ssh port

Configure SSH under Windows (freesshd + Putty):

1. About the configuration process to find a good blog, recommend you first take a good look, this blog post solves the general direction of the problem.

Address: http://blog.csdn.net/lililiyunqiang/article/details/39337319

2. Also attached to the IBM step by step tutorial, the idea is clear, and there are many details.

Address: https://wthwdik.wordpress.com/2011/03/28/how-to-get-freesshd-public-key-authentication-to-work/

3. According to the above process can be completed so the configuration, but the actual use will encounter a lot of small problems, these small problems if you can't find a solution is really too frustrating ~ ~ I am here to list the problems/solutions I have encountered:

①. Thespecified address is already on use issue:

Because freessh in the installation will ask whether you let freessh randomly start, and then immediately opened the Freessh service, so SSH Port 22 can not be used, the solution is to enter the system first FREESSH service stop on the line. WORKAROUND: Open the Server Manager, locate the list of services, right-click Freesshdservices, select Properties, click Stop Service, close Server Manager, and restart start in the FREESSHD panel.

②.Key Passphrase:

When generating a shared/private key pair, the key passphrase must be filled in.

③. The file name that holds the public key must be the same as the user name added in Freesshd, and the file does not have any extensions .

④. The file in which the public key is saved must be a row .

⑤.plink.exe This tool is not open, when accessing remote files, open cmd under the Putty folder, the command line with Plink is OK.

Example: CD C:\Users\Administrator\Desktop\putty

Plink-i PRI_KEY.PPK [email protected] C:\Users\Administrator\Desktop\test.bat

⑥.Server refused Public-key signature despite accepting key issue:

Solution: Turn off freesshd, right-click Freesshd, choose Run as Administrator, you can.

Working reasons need to implement calling the Python script file on remote server, I am a novice, many things are doing while learning, google/Baidu A lot of information, a whole day to solve. (This is my first time to write a blog, there are a lot of not good places to forgive you.) )

Configuring SSH under Windows (freesshd + putty)

Related Article

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.