Cisco Cisco Email Security Appliance C160 Mode D'Emploi

Page de 1197
 
32-27
User Guide for AsyncOS 9.7 for Cisco Email Security Appliances
 
Chapter 32      Distributing Administrative Tasks
  Managing Secure Shell (SSH) Keys
Note
After using the 
sshconfig
 command, a reboot is required for changes to take effect.
Using 
hostkeyconfig
, you can scan for keys of remote hosts and add them to the Cisco appliance.
Related Topics
Example: Install a New Public Key
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
[]> 
Example: Edit SSH Server Configuration
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
Cipher Algorithms:
        aes128-ctr
        aes192-ctr