ssh-known-hosts
Syntax
ssh-known-hosts {
fetch-from-server server;
host hostname {
dsa-key key;
ecdsa-sha2-nistp256-key key;
ecdsa-sha2-nistp384-key key;
ecdsa-sha2-nistp521-key key;
ed25519-key key;
rsa-key key;
}
load-key-file filename;
}
Hierarchy Level
[edit security]
Description
Configure SSH support for known hosts and for administering SSH host key updates.
Options
fetch-from-server server |
Retrieve SSH public host key information from the specified server. Specify by server name or IP address. |
host host-name |
Hostname of the SSH known host entry. This option has the following suboptions:
|
load-key-file filename |
Import SSH host key information from the named file.
If the file is in a directory other than the home directory of the
device, specify pathname as well. The default filename is |
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 7.5.