3com 8807 Guia De Referência
SSH Client Configuration Commands
957
Example
# Display the corresponding relationship between the client’s servers and public
keys.
keys.
<SW8800> display ssh server-info
ServerIP public-key-name
192.168.0.1 3com_key01
192.168.0.2 3com_key02
quit
Syntax
quit
View
User view
Parameter
None
Description
Use the quit command to terminate the connection with the remote SSH server.
Example
# Terminate the connection with the remote SSH server.
<SW8800> quit
ssh client assign rsa-key
Syntax
ssh client server-ip assign rsa-key keyname
undo ssh client server-ip assign rsa-key
View
System view
Parameter
server-ip: IP address of the server.
keyname: Public key name of the client.
Description
Use the ssh client assign rsa-key command to specify the IP address and the
corresponding public key name of the server on the client.
corresponding public key name of the server on the client.
Use the undo ssh client assign rsa-key command to cancel the configuration.
Example
# Specify the public key of a server with IP address 192.168.0.1 on the client as
serverkey01.
serverkey01.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] ssh client 192.168.0.1 assign rsa-key serverkey01