Please note that if you start the proxy using command tlsproxy.exe run
the application runs as a standard .NET 6 executable. There is no logic for detaching from a shell or binding as a service.
The "Services" field is listed because it runs under the SSH server's service process.
You can try this:
1. On your server, open Powershell window and run tasklist | findstr powershell
. You should see something like this:
powershell.exe 25828 Console 1 79?592 K
2. Connect to your server using SSH and run powershell.exe
command (within the SSH session). Run the tasklist | findstr powershell
command again and you should see something like this:
powershell.exe 25828 Console 1 82?392 K
powershell.exe 3256 Services 0 73?544 K
As you can see, the second powershell.exe
process is listed as "Services", but it does not mean there is a powershell.exe
service installed on your machine.
Unfortunately, we are not able to reproduce the second issue (with OpenSSH server and client). Can you please share what are you using to establish the SSH session (SSH server, SSH client, issued commands, settings to provoke the behavior)?
UPDATE:
From version 1.8.1 the TLS Proxy reacts to closure of standard input, which solves the reported issue.