Windows Platform Installation AUTOSSH service

Source: Internet
Author: User

First press the Cygwin you want to install and choose Autossh.

Then execute the Install Service command in the Cygwin terminal:

Cygrunsrv-i autossh-y tcpip-o-u $user-w $pwd-P/usr/bin/autossh-a "-f-m 0-n-v [email protected]-D 1080-i Path _to_private_key "-E Autossh_netservice=yes

You can then start autossh

net start Autossh


Description

    1. If the fail to add hosts to known_hosts error occurs, you need to modify the/etc/passwd to change the $user home to an absolute path. such as/cygdrive/c/users/$user

    2. After the service starts, there may be a "stop after service start" error, which doesn't matter. The others have started normally. This error can be ignored.


Windows Platform Installation AUTOSSH service

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.