3Com Switch 4200G Configuration Guide
314 CHAPTER 36: SSH TERMINAL SERVICES
SSH Client Configuration Table 269 describes SSH configuration tasks.
In the initial authentication, if the SSH client does not have the public key for the
server which it accesses for the first time, the client continues to access the server and
save locally the public key of the server. Then at the next access, the client can
authenticate the server using the public key saved locally.
Displaying SSH
Configuration
Use the display commands in any view to view the running of SSH and further to
check the configuration result.
Return to system view from
public key view
peer-public-key end
Allocate public keys to SSH users ssh user username assign
rsa-key keyname
Required
Keyname is the name of an
existing public key. If the user
already has a public key, the
new public key overrides the
old one.
Table 268 Configure client public keys (Continued)
Operation Command Remarks
Table 269 Configure SSH client
Operation Command Remarks
Enter system view system-view
Enable the connection
between SSH client
and server
ssh2 host-ipaddr [ port ] [ prefer_kex
{ dh_group1 | dh_exchange_group }] [
prefer_ctos_cipher { des | aes128 } ] [
prefer_stoc_cipher { des | aes128 }] [
prefer_ctos_hmac { sha1 | sha1_96 |
md5 | md5_96 }] [ prefer_stoc_hmac
{ sha1 | sha1_96 | md5 | md5_96 }]
Required
You can use this command
to enable the connection
between SSH client and
server, define key
exchange algorithm
preference, encryption
algorithm preference and
HMAC algorithm
preference between the
server and client.
Allocate a public key to
the server
ssh client server-ip assign rsa-key
keyname
Required
You can specify on the
client the public key for the
server to be connected to
guarantee the client can be
connected to a reliable
server.
Configure the client to
run the initial
authentication
ssh client first-time enable Optional
By default, the client runs
the initial authentication.
Table 270 Display SSH configuration
Operation Command
Display host and server public keys display rsa local-key-pair public
Display client RSA public key display rsa peer-public-key [ brief | name keyname ]
Display SSH status and session
information
display ssh server { status | session }
Display SSH user information display ssh user-information [ username ]