Secure Shell, or SSH, is a network protocol that allows data to be exchanged over a secure channel between two systems. This section describes how to use JCS commands to configure SSH access to the JCS 1200 platform.
Tasks to configure SSH include:
SSH access requires a host key and a user public key.
To generate the host key:
tcsh-1:telnet bcgmm1-con
In this example, the serial port is connected to a telnet server port identified as bcgmm1-con.
system> env —T mm[1]
system:mm[1]> sshcfg —hk gen
It takes about 1 minute to generate a host key.
system:mm[1]> displaylog —f
system:mm[1]> sshcfg —cstatus
enabled
To generate a user public key:
You copy the public key from the authorized_keys file and paste it on the command line. For example:
system:mm[1]> users —2 —pk
—1 —add paste-key-here
system:mm[1]> users —2
- n chang - a Role:supervisor ... Number of SSH public keys installed for this user: 1 Last login: 1/28/08 09:26:59
system:mm[1]> exit
tcsh-1 ssh bcgmm1
In this example, the JCS management module Ethernet port is identified as bcgmm1.