Cisco Cisco Packet Data Gateway (PDG) 문제 해결 가이드
Context Configuration Mode Commands
ssh ▀
Cisco ASR 5000 Series Command Line Interface Reference ▄
OL-22947-02
ssh
Generates public and private keys for use with the configured SSH server for the current context and sets the
public/private key pair to specified values.
public/private key pair to specified values.
Product
All
Privilege
Security Administrator, Administrator
Syntax
This command clears configured SSH keys. If type is not specified, all SSH keys are cleared.
This command generates a public/private key pair which is to be used by the SSH server. The generated key
pair is in use until the command is issued again.
pair is in use until the command is issued again.
This command sets the public/private key pair to be used by the system where
is the encrypted key and
is the length of the encrypted key in octets.
must be an alpha and/or numeric string of 1 to
1023 characters and
must be a value in the range of 0 through 65535.
Specifies the type of SSH key to generate. If type is not specified, all three key types types are generated.
: SSH v1 RSA host key only
: SSH v2 DSA host key only
: SSH v2 RSA host key only
: SSH v2 DSA host key only
: SSH v2 RSA host key only
Important:
For maximum security, it is recommended that only SSH v2 be used.
is the recommended
key type.
Usage
Generate secure shell keys for use in public key authentication.
Example