set hostkey-algorithms

Last Updated : Oct 15, 2026 |
Prolog information

Syntax

set hostkey-algorithms <default | all | {hostkey} [{hostkey}...]>

Parameters

Parameter
Description
Possible values
Default value
<hostkey>
ssh-rsa rsa-sha2-256,
rsa-sha2-512 ,
ecdsa-sha2-nistp256,
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
ssh-rsa rsa-sha2-256,
rsa-sha2-512 ,
ecdsa-sha2-nistp256,
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521

Description

The command is available to both ssh-client-configuration and ssh-server-configuration contexts.