Cisco Cisco Email Security Appliance C170 Referências técnicas

Página de 314
 
93
Cisco AsyncOS 9.1 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  General Management/Administration/Troubleshooting
Use the power button (in 30 seconds) to turn off the machine.
sshconfig
Description
Configure SSH server and user key settings.
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command is restricted to cluster mode.
Batch Command: This command does not support a batch format.
Reboot. Reboot is required for changes to take effect.
Example
In the following example, a new public key is installed for the administrator account:
mail.example.com> sshconfig
Choose the operation you want to perform:
- SSHD - Edit SSH server settings.
- USERKEY - Edit SSH User Key settings
[]> userkey
Currently installed keys for admin:
Choose the operation you want to perform:
- NEW - Add a new key.
- USER - Switch to a different user to edit.
[]> new
Please enter the public SSH key for authorization.
Press enter on a blank line to finish.
[-paste public key for user authentication here-]
Choose the operation you want to perform:
- SSHD - Edit SSH server settings.
- USERKEY - Edit SSH User Key settings
[]> 
The following example shows how to edit the SSH server configuration.
mail.example.com> sshconfig
Choose the operation you want to perform:
- SSHD - Edit SSH server settings.
- USERKEY - Edit SSH User Key settings
[]> sshd
ssh server config settings:
Public Key Authentication Algorithms:
        rsa1
        ssh-dss
        ssh-rsa