3Com 4500 50-PORT Switch User Manual


 
432 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
Description
Use the ssh client assign rsa-key command to specify the public key of the
server to connect with on the client, so that the client authenticates if the server is
trustworthy.
Use the undo ssh client assign rsa-key command to cancel the specified
relationship with the public key of the server.
Example
To specify abc as the public key name of the server with IP address 192.168.0.1 on
the client, enter the following:
[SW4500]ssh client 192.168.0.1 assign rsa-key abc
ssh client first-time
enable
Syntax
ssh client first-time enable
undo ssh client first-time
View
System View
Parameter
None
Description
Use the ssh client first-time enable command to set the SSH client to
perform the first-time authentication of the SSH server to be accessed.
Use the undo ssh client first-time command to cancel the first-time
authentication.
The first-time authentication means that when the SSH client accesses the server
for the first time in the case that there is no local copy of the server's public key,
the user can proceed to access the server and save a local copy of the server's
public key; when the client accesses the server next time, it uses the saved public
key to authenticate the server.
If the first-time authentication is not supported, when there is no local copy of the
public key of the connected server, the client assumes that the server is illegal and
will refuse to access the server. The user can save a copy of the server's public key
locally by other means beforehand.
By default, the client perform the first-time authentication.
Example
To set the SSH client to perform the first-time authentication of the SSH server to
be accessed, enter the following: