Download Print this page

Crypto Key Pubkey-Chain Knownhosts - Centrecom FS980M/9 Command Reference Manual

Fs980m series fast ethernet managed access switches reference for alliedware plus version 5.4.6-2.x

Advertisement

S
S
(SSH) C
ECURE
HELL
OMMANDS
-
CRYPTO KEY PUBKEY
CHAIN KNOWNHOSTS

crypto key pubkey-chain knownhosts

Overview
This command adds a public key of the specified SSH server to the known host
database on your device. The SSH client on your device uses this public key to
verify the remote SSH server.
The key is retrieved from the server. Before adding a key to this database, check
that the key sent to you is correct.
If the server's key changes, or if your SSH client does not have the public key of the
remote SSH server, then your SSH client will inform you that the public key of the
server is unknown or altered.
The no variant of this command deletes the public key of the specified SSH server
from the known host database on your device.
crypto key pubkey-chain knownhosts [ip|ipv6] <hostname>
Syntax
[rsa|dsa|rsa1]
no crypto key pubkey-chain knownhosts <1-65535>
Default
If no cryptography algorithm is specified, then rsa is used as the default
cryptography algorithm.
Mode
Privilege Exec
Usage
This command adds a public key of the specified SSH server to the known host
database on the device. The key is retrieved from the server. The remote SSH server
is verified by using this public key. The user is requested to check the key is correct
before adding it to the database.
613-50137-01 Rev A
Parameter
ip
ipv6
<hostname>
rsa
dsa
rsa1
<1-65535>
Command Reference for FS980M Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
Description
Keyword used prior to specifying an IPv4 address
Keyword used prior to specifying an IPv6 address
IPv4/IPv6 address or hostname of a remote server in the
format a.b.c.d for an IPv4 address, or in the format
x:x::x:x for an IPv6 address.
Specify the RSA public key of the server to be added to the
known host database.
Specify the DSA public key of the server to be added to the
known host database.
Specify the SSHv1 public key of the server to be added to the
know host database.
Specify a key identifier when removing a key using the no
parameter.
1603

Advertisement

loading