<div dir="ltr">Thank you Michael,<div><br></div><div>When I installed the tmate, it showed me the following hints:</div><div><br></div><div><font face="monospace">Message from tmate-2.4.0_4:</font></div><font face="monospace"><br></font><span style="font-family:monospace">--</span><br><span style="font-family:monospace">When trying to connect to the default public </span>tmate<span style="font-family:monospace"> server it may </span>happpen<span style="font-family:monospace"> that</span><br><div><font face="monospace">the following errors messages will be printed:</font></div><div><font face="monospace"><br> Connecting to ssh.tmate.io...<br> Cannot authenticate server<br> Reconnecting... (Cannot authenticate server)<br><br>This is because the fingerprints of the default tmate server keys are stripped<br>out from the tmate binary.<br><br>Instead, users are encouraged to specify the fingerprints via ~/.tmate.conf, e.g.:<br><br> set -g tmate-server-rsa-fingerprint "SHA256:Hthk2T/M/Ivqfk1YYUn5ijC2Att3+UPzD7Rn72P5VWs"<br> set -g tmate-server-ecdsa-fingerprint "SHA256:8GmKHYHEJ6n0TEdciHeEGkKOigQfCFuBULdt6vZIhDc"<br>root@DragonflyBSD:~ #</font><br></div><div><br></div><div>Now, I tried with your suggestion, but I still got the same error message.</div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><br></div><div><font face="monospace">root@DragonflyBSD:~ # set tmate-server-rsa-fingerprint=SHA256:RZsuxQNR6+ZAty5fXINvarZK3aoZ3KfrSU6ZUONbo3E</font></div><div><font face="monospace">set: Variable name must contain alphanumeric characters.</font></div></blockquote></div><div><font face="monospace"><br></font></div><div><font face="arial, sans-serif">I think it is because of the "-" in the variable name, but I do not know how to resolve it.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><br></font></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, May 12, 2025 at 12:03 PM Michael Neumann <<a href="mailto:mneumann@ntecs.de">mneumann@ntecs.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, May 12, 2025 at 11:49:25AM -0700, Sayed Mohammad Badiezadegan wrote:<br>
> Hi everybody,<br>
> <br>
> I installed tmate on one DragonflyBSD server, but I got the attached<br>
> screenshot error message:<br>
> [image: Screenshot 2025-05-12 114032.png]<br>
> I also want to set those 2 SHA256 variables, but it gave me the 2nd<br>
> screenshot error!<br>
<br>
Try "set variable=value". I dunno what "set -g" is used for.<br>
<br>
Regards,<br>
<br>
Michael<br>
<br>
<br>
</blockquote></div>