Un esempio che crea il servizio SSHD-MSYS2
cygrunsrv --install SSHD-MSYS2 --path "/usr/bin/sshd" --args "-f /etc/ssh/sshd_config"