Crypto Key Pubkey-Chain Knownhosts - Allied Telesis x310-26FT Command Reference Manual

X310 series stackable access switches for alliedware plus version 5.4.6-1.x
Table of Contents

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.
C613-50103-01 REV A
Parameter
ip
ipv6
<hostname>
rsa
dsa
rsa1
<1-65535>
Command Reference for x310 Series
AlliedWare Plus™ Operating System - Version 5.4.6-1.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.
2401

Advertisement

Table of Contents
loading

This manual is also suitable for:

X310-26fpX310-50fpX310-50ft

Table of Contents