Cisco Cisco Email Security Appliance C160 Références techniques

Page de 312
84
I R O N P O R T   A S Y N C O S   7 . 1   C L I   R E F E R E N C E   G U I D E
Example
sshconfig
Description
Configure SSH keys.
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.
Example
In the following example, a new public key is installed for the admin account:
Code Example 3-49 
shutdown
 
mail3.example.com> shutdown
Enter the number of seconds to wait before abruptly closing 
connections.
[30]>
System shutting down.  Please wait while the queue is being closed.
Closing CLI connection.
Use the power button (in 30 seconds) to turn off the machine.
Code Example 3-50 sshconfig - Install a New Public Key for the ‘Admin’ Account 
mail3.example.com> sshconfig
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.
- SETUP -  Configure general settings.
[]> new
Please enter the public SSH key for authorization.
Press enter on a blank line to finish.
[cut and paste public key for user authentication here]
Currently installed keys for admin:
1. ssh-dss AAAAB3NzaC1kc3MAA...CapRrgxcY= (admin@example.com)