ssh-known-hosts

Syntax

ssh-known-hosts {fetch-from-server fetch-from-server ;host hostname {dsa-key base64-encoded-dsa-key ;rsa-key base64-encoded-dsa-key ;rsa1-key base64-encoded-dsa-key ;}load-key-file key-file ;}

Hierarchy Level

[edit security]

Release Information

Statement modified in Release 8.5 of Junos OS.

Description

Configure SSH support for known hosts and for administering SSH host key updates.

Options

dsa-key—Digital signature algorithm (DSA) for SSH version 2.

fetch-from-server—Retrieve SSH public host key information from a specified server.

load-key-file—Import SSH host key information from the /var/tmp/ssh-known-hosts file.

rsa-key—Public key algorithm that supports encryption and digital signatures for SSH version 1 and SSH version 2.

rsa1-key—RSA public key algorithm, which supports encryption and digital signatures for SSH version 1.

Usage Guidelines

For configuration instructions and examples, see the Junos OS Security Configuration Guide.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.