mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-16 18:31:40 +01:00
ssh-client: Add support for ed25519 keys
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
parent
2ffcbbd185
commit
b645ce15cb
@ -934,6 +934,12 @@ const struct options_table_entry options_table[] = {
|
||||
.default_str = "SHA256:8GmKHYHEJ6n0TEdciHeEGkKOigQfCFuBULdt6vZIhDc"
|
||||
},
|
||||
|
||||
{ .name = "tmate-server-ed25519-fingerprint",
|
||||
.type = OPTIONS_TABLE_STRING,
|
||||
.scope = OPTIONS_TABLE_SERVER,
|
||||
.default_str = ""
|
||||
},
|
||||
|
||||
{ .name = "tmate-display-time",
|
||||
.type = OPTIONS_TABLE_NUMBER,
|
||||
.scope = OPTIONS_TABLE_SESSION,
|
||||
|
@ -309,6 +309,10 @@ static void on_ssh_client_event(struct tmate_ssh_client *client)
|
||||
server_hash_str = options_get_string(global_options,
|
||||
"tmate-server-ecdsa-fingerprint");
|
||||
break;
|
||||
case SSH_KEYTYPE_ED25519:
|
||||
server_hash_str = options_get_string(global_options,
|
||||
"tmate-server-ed25519-fingerprint");
|
||||
break;
|
||||
default:
|
||||
server_hash_str = "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user