tmate authentication server error.

Sayed Mohammad Badiezadegan mbzadegan at gmail.com
Mon May 12 12:21:05 PDT 2025


Thank you Michael,

When I installed the tmate, it showed me the following hints:

Message from tmate-2.4.0_4:

--
When trying to connect to the default public tmate server it may happpen
that
the following errors messages will be printed:

  Connecting to ssh.tmate.io...
  Cannot authenticate server
  Reconnecting... (Cannot authenticate server)

This is because the fingerprints of the default tmate server keys are
stripped
out from the tmate binary.

Instead, users are encouraged to specify the fingerprints via
~/.tmate.conf, e.g.:

  set -g tmate-server-rsa-fingerprint
"SHA256:Hthk2T/M/Ivqfk1YYUn5ijC2Att3+UPzD7Rn72P5VWs"
  set -g tmate-server-ecdsa-fingerprint
"SHA256:8GmKHYHEJ6n0TEdciHeEGkKOigQfCFuBULdt6vZIhDc"
root at DragonflyBSD:~ #

Now, I tried with your suggestion, but I still got the same error message.


root at DragonflyBSD:~ # set
tmate-server-rsa-fingerprint=SHA256:RZsuxQNR6+ZAty5fXINvarZK3aoZ3KfrSU6ZUONbo3E
set: Variable name must contain alphanumeric characters.


I think it is because of the "-" in the variable name, but I do not know
how to resolve it.



On Mon, May 12, 2025 at 12:03 PM Michael Neumann <mneumann at ntecs.de> wrote:

> On Mon, May 12, 2025 at 11:49:25AM -0700, Sayed Mohammad Badiezadegan
> wrote:
> > Hi everybody,
> >
> > I installed tmate on one DragonflyBSD server, but I got the attached
> > screenshot error message:
> > [image: Screenshot 2025-05-12 114032.png]
> > I also want to set those 2 SHA256 variables, but it gave me the 2nd
> > screenshot error!
>
> Try "set variable=value". I dunno what "set -g" is used for.
>
> Regards,
>
>   Michael
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20250512/f73acec1/attachment.htm>


More information about the Users mailing list