mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +09:00
extensions: Host-bound public key authentication
Signed-off-by: Abdallah Alhadad <abdallahselhdad@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -229,11 +229,13 @@ static int ssh_server_send_extensions(ssh_session session) {
|
||||
}
|
||||
|
||||
rc = ssh_buffer_pack(session->out_buffer,
|
||||
"bdss",
|
||||
"bdssss",
|
||||
SSH2_MSG_EXT_INFO,
|
||||
1, /* nr. of extensions */
|
||||
2, /* nr. of extensions */
|
||||
"server-sig-algs",
|
||||
hostkey_algorithms);
|
||||
hostkey_algorithms,
|
||||
"publickey-hostbound@openssh.com",
|
||||
"0");
|
||||
if (rc != SSH_OK) {
|
||||
goto error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user