Hi,
I'm using tmate with the same goal : as a ssh server, since I can't do port-forwarding.
Meanwhile, I have a strange behavior : I have a running tmate daemon. When I issue "tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}'", it returns a socket @
fk2.tmate.io, and when I try to connect to it, it says that the token is invalid or has expired !
The "api" call result is :
{"ws_url_fmt":"wss://
fk2.tmate.io/ws/session/%s","ssh_cmd_fmt":"ssh %
s...@fk2.tmate.io","created_at":"2016-04-18T20:55:37.399887Z","closed_at":null}
Saying that the socket hasn't been closed, but it seems to be !?
I'm trying to make a script to always have a tmate socket opened, but it's difficult with "dead" sockets ;)