Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

ssh-known-hosts

Syntax

ssh-known-hosts {host host-name {dsa-key key;fetch-from-server hostname;load-key-file URL filename;rsa-key key;rsa1-key key;}}

Hierarchy Level

[edit security ssh-known-hosts]

Release Information

Statement introduced in Junos OS Release 7.5.

Description

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

Options

host host-name—Hostname of the SSH known host entry. This option has the following suboptions:

  • dsa-key key—Base64 encoded Digital Signature Algorithm (DSA) key for SSH version 2.
  • fetch-from-server host-name—Retrieve SSH public host key information from a specified server.
  • load-key-file filename—Import SSH host key information from the /var/tmp/ssh-known-hosts file.
  • rsa-key key—Base64 encoded public key algorithm that supports encryption and digital signatures for SSH version 1 and SSH version 2.
  • rsa1-key key—Base64 encoded RSA public key algorithm, which supports encryption and digital signatures for SSH version 1.

Required Privilege Level

admin—To view this statement in the configuration.

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

Published: 2013-02-22