Command Manual – SSH
H3C S7500E Series Ethernet Switches
Chapter 1 SSH Configuration Commands
1-19
1.1.22 ssh client authentication server
Syntax
ssh client authentication server
server
assign
publickey
keyname
undo ssh client authentication server
server
assign publickey
View
System view
Parameters
server
: IP address or name of the server, a string of 1 to 80 characters.
keyname
: Name of the host public key of the server, a string of 1 to 64 characters.
Description
Use the
ssh client authentication server
command to configure the host public key of
the server so that the client can determine whether the server is trustworthy.
Use the
undo ssh authentication server
command to remove the configuration.
By default, the host public key of the server is not configured, and when logging into the
server, the client uses the IP address or host name used for login as the public key
name.
Examples
# Configure the public key of the server with the IP address of 192.168.0.1 to be key1.
<Sysname> system-view
[Sysname] ssh client authentication server 192.168.0.1 assign rsa-key key1
1.1.23 ssh client first-time enable
Syntax
ssh client first-time enable
undo ssh client first-time
View
System view
Parameters
None