0

I am trying to install autossh as a service via cygwin:

cygrunsrv -I AutoSSH -p /usr/bin/autossh -a “-M 20000 -R 7000:10.xxx.xxx.193:22 jessica@host” -e AUTOSSH_NTSERVICE=yes

But I get the error:

cygrunsrv: Exactly one of --install, --remove, --start, --stop, --query, or --list is required
Try `cygrunsrv --help' for more information.
  • First you should replace your smart quotes with normal quotes and try again .... – DavidPostill Nov 10 at 15:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.