Hi Daniel, I'm sorry for the late reply,
> Hi, > > I've tried tty-server out, but it seems not to work for me. > > I'm using "example.net" in the following commands, but have been using a > proper dns entry in reality of course. > > Also, before making it work "properly" behind an apache reverse proxy > with proper ssl, I thought I'd just try it out quick&dirty.. > > On the server, I did: > > # tty-server -url http://tty.example.net > INFO[0000] Listening on address: http://:80, and TCP://:6543 > > On the client, I've been using: > # tty-share -server tty.example.net:6543 -useTLS false please, try: $ tty-share -server tty.example.net:6543 -useTLS=false > > Which gives me the following output on the server: > > WARN[0655] Cannot create session with 1.2.3.4:35688. Error: > Cannot decode message: invalid character '\x16' looking for beginning > of value > > And the following output on the client: > > Cannot connect (TLS) to the server (tty.example.net:6543): EOF > > Disabling TLS doesn't work then. > > Furhter observations: > > * neither '-useTLS false' nor '-useTLS no' work at all when > being 'reordered', so when calling: > > tty-share -useTLS false -server tty.example.net:6543 > > then all commandline options are ignored entirely and > a normal session to go.tty-share.com is established, > eventhough -server has been specified. hmm, very good, I didn't realize it, thanks a lot, as a new release has just come out, I will confirm if it remains. > > * the default ports from the server and the client don't seem > to match; the server by default starts on 6543, the client > tries by default 7654. Yes, it is the way the server was configured, "use nginx as reverse proxy for the web interface at port 5000 (listen at 443, terminate the TLS, and redirect to localhost:5000) TLS endpoint at port 7654, and redirect to localhost:6543" https://github.com/elisescu/tty-server/blob/56e269830bd98411b18f6299761f56ab3a87f82a/README.md > > * it would be nice to have systemd unit files and apache configs > integrated into the package, so that a 'apt install tty-server' > works out of the box. Yes, it is one of the things that are on my To-Do list. > > Regards, > Daniel Thanks, -- Francisco Vilmar Cardoso Ruviaro <fr4nci...@disroot.org> 4096R: 1B8C F656 EF3B 8447 2F48 F0E7 82FB F706 0B2F 7D00