Chapter 37: Secure Shell (SSH) Commands
538
Example
The following is an example of the command sequence to configuring
the SSH software on the server:
1. The first step is to create the two encryption key pairs. Each key must
be created separately and the key lengths must be at least one
increment (256 bits) apart. The following two commands create the
host and server keys using the recommended key lengths:
create enco key=1 type=rsa length=1024
description=”host key”
create enco key=2 type=rsa length=768
description=”server key”
2. The following command disables Telnet:
disable telnet
3. The last command activates the SSH software and sets the host key as
encryption key pair 1 and the server key as key pair 2:
enable ssh server hostkey=1 serverkey=2