On 2023-11-29 14:58, Jose Isaias Cabrera wrote:

On Wednesday, November 29, 2023 04:38 PM, Brian Inglis expressed:

Make sure none of the ssh bits are running and add a system startup scheduled
task to shut them down and perhaps also start Cygwin services e.g.

$ sc queryex state= all | grep -i ssh

jcabrera@jicman ~
$ sc queryex state= all | grep -i ssh

No output.

$ for s in ssh{d,dbroker,-agent}; do sc queryex $s; done

for s in ssh{d,dbroker,-agent}; do sc queryex $s; done
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.

[SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.

[SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.


jcabrera@jicman ~

The services do not exists.

$ for s in ssh{d,dbroker,-agent}; do
sc stop         $s
sleep 1
net stop        $s
sleep 1
sc config       $srv start= disabled
sc qc           $s
sc queryex      $s
done
jcabrera@jicman ~
$ for s in ssh{d,dbroker,-agent}; do
         sc stop         $s
         sleep 1
         net stop        $s
         sleep 1
         sc config       $srv start= disabled
         sc qc           $s
         sc queryex      $s
done
[SC] OpenService FAILED 1060:
[clipped]

These also failed.

Great - there are no (MS) ssh services running on your system, so no conflicts!

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to