sshd

Description                                                    Perform an SSHD operation on the system.

Syntax                                                                  sshd 
{
key generate [size {2048 | 4096}] |
key load [use-mgmt-port] url |
key regenerate [size {2048 | 4096}] |
key wipe |
restart
}

Parameter

Description

key generate

Generate an SSH key.

You can choose to specify a key size; use size 2048 to generate a 2048-bit key, or size 4096 to generate a 4096-bit key.

key load

Load an SSH key.

Specify use-mgmt-port to use the management interface as the source interface for the con­nection to the remote device. The management route table is used to reach the device. By default, the ACOS device attempts to use the data route table to reach the remote device through a data interface.

Specify the url to the SSH key. You can enter the entire URL on the command line or press Enter to display a prompt for each part of the URL. If you enter the entire URL and a password is required, you will still be prompted for the password. The password can be up to 255 characters long.

To enter the entire URL:

  tftp://host/file

  ftp://[user@]host[port:]/file

  scp://[user@]host/file

  sftp://[user@]host/file

key regenerate

Regenerate an SSH key.

You can choose to specify a key size; use size 2048 to generate a 2048-bit key, or size 4096 to generate a 4096-bit key.

key wipe

Wipe an SSH key.

restart

Restart the SSH service.

Mode                                                                   Configuration mode

Introduced in Release                       4.0.1

Table of Contents

Index

Glossary

-Search-

Back