Example 511 SSH Configuration Using RSA Key Pairs

Router-ssh(config)# crypto key generate rsa usage-keys label rsakey modulus 768

The name for the keys will be: rsakey % The key modulus size is 768 bits % Generating 768 bit RSA keys ...[OK] Router-ssh(config)#

*Mar 1 02:38:06.283: %SSH-5-ENABLED: SSH 2.0 has been enabled Router-ssh(config)#ip ssh rsa keypair-name rsakey

Router-ssh(config)#ip ssh time-out 60 Router-ssh(config)#ip ssh version 2

SSH might be used for terminal-line access rather than reverse Telnet. Replacing reverse Telnet with SSH adds encryption and decryption processing that might affect the performance of the tty lines.

Example 5-12 shows the configuration commands necessary to configure SSH reverse Telnet. SSH must already be configured on the router prior to these steps. The line must be configured in its own rotary group. The transport input ssh command is used to specify SSH protocol for terminal access. The ip ssh port 2001 rotary 1 command is used to enable secure network access to the tty line.

0 0

Post a comment