3Com Switch 7750 Configuration Guide Guide

SSH Terminal Services 723
Displaying SSH
Configuration
Use the display commands in any view to view the running of SSH and further to
check the configuration result. Through the displaying information, you can verify
the configuration effect.
SSH Server
Configuration Example
Network requirements
As shown in Figure 187, The PC (SSH Client) runs the client software which
supports SSHv2.0, establish a local connection with the switch (SSH Server) and
ensure the security of data exchange.
Network diagram
Figure 187 Network diagram for SSH server configuration
Configuration procedure
1 Generate a local RSA key pair.
<SW7750>system-view
[SW7750] rsa local-key-pair create
Connect the SSH client to the
SSH server, and specify the
preferred key exchange
algorithm, the preferred
encryption algorithm and the
preferred HMAC algorithm
for the SSH client and the SSH
server
ssh2 { host-ip | host-name } [
port-number ] [ 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
Table 557 Configure a device as an SSH client
Operation Command Description
Table 558 Display SSH configuration
Operation Command Description
Display host and server public
keys
display rsa local-key-pair
public
display command can be
executed in any view
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
]
SSH Client
Switch
SSH ServerPC
SSH Client
Switch
SSH ServerPC