Navigation
Supported Platforms
host (SSH Known Hosts)
Syntax
host hostname {dsa-key dsa-key;ecdsa-sha2-nistp256-key ecdsa-sha2-nistp256-key;ecdsa-sha2-nistp384-key ecdsa-sha2-nistp384-key;ecdsa-sha2-nistp521-key ecdsa-sha2-nistp521-key;rsa-key rsa-key;rsa1-key rsa1-key;}
Hierarchy Level
[edit security ssh-known-hosts]
Release Information
Statement modified in Junos OS Release 8.5.
Description
Configure the type of base-64 encoded host key.
Options
- hostname—Name of the SSH known host.
- dsa-key dsa-key—Digital Signature Algorithm (DSA) for SSH version 2
- ecdsa-sha2-nistp256-key ecdsa-sha2-nistp256-key—Elliptic Curve Digital Signature Algorithm (ECDSA)
- ecdsa-sha2-nistp384-key ecdsa-sha2-nistp384-key—Elliptic Curve Digital Signature Algorithm (ECDSA)
- ecdsa-sha2-nistp521-key ecdsa-sha2-nistp521-key—Elliptic Curve Digital Signature Algorithm (ECDSA)
- rsa-key rsa-key—RSA public key algorithm, which supports encryption and digital signatures for SSH version 1 and SSH version 2
- rsa1-key rsa1-key—RSA public key algorithm, which supports encryption and digital signatures for SSH version 1
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.