-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Hello,
I have been using winsw for a few years without any problem. But now I can't configure it to properly start bitvise ssh client.
I'm using the following configuration file
<service>
<id>bitvise-ssh-client</id>
<name>bitvise-ssh-client</name>
<description>This service runs a bitvise ssh client.</description>
<workingdirectory>C:\install\Bitvise-SSH-Client\private</workingdirectory>
<executable>stnlc</executable>
<argument>-profile=jenkins-slave-websrv01-dev.bscp </argument>
<argument>-keypairFile=jenkins-slave-websrv01-dev.key</argument>
<logmode>rotate</logmode>
<logpath>E:\logs</logpath>
</service>
The service itself starts normal, but in the ssh client log file I get the following message
Bitvise SSH Client 6.47 - stnlc - free of charge for use in all environments
Copyright (C) 2000-2016 by Bitvise Limited.
Connecting to SSH2 server 54.xxx.xxx.xxx:22.
Connection established.
Server version: SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.8
First key exchange started.
Received host key from the server. Algorithm: ECDSA/nistp256, size: 256 bits, MD5 fingerprint: 53:51:62:bf:eb:2a:1a:82:b7:34:77:8d:d8:1e:5f:2e, Bubble-Babble: ximah-pegus-pipes-bizuc-hofab-cahep-kygah-vytur-dolig-dinim-ruxax, SHA-256 fingerprint: uGMmPcDAD5CNa/0Pft6yOeD1zJwQnj3/MvBzFd9NEI8.
First key exchange completed using ecdh-sha2/nistp521. Session encryption: aes256-ctr, MAC: hmac-sha2-256, compression: none.
Attempting publickey authentication. Testing client key 'Parameter 1' for acceptance.
Authentication succeeded. The client key 'Parameter 1' has been accepted.
Attempting publickey authentication. Signing with client key 'Parameter 1'.
Authentication completed.
Added client-to-server port forwarding rule on 127.0.0.1:9090 to localhost:8080.
Added client-to-server port forwarding rule on 127.0.0.1:54218 to localhost:54218.
Added client-to-server port forwarding rule on 127.0.0.1:8443 to localhost:8443.
tnl>
Session disconnected on user's request.
As you can see the main problem is - 'Session disconnected on user's request.'
Bitvise SSH Client itself does not run as a service, but it can be encapsulated inside a program that enables this - srvany, FireDaemon, NSSM. So as I have understood it should work correctly with winsw.
Did I miss something?