10-10
ssh client authentication server
Syntax
ssh client authentication server
server
assign
publickey
keyname
undo ssh client authentication server
server
assign publickey
View
System view
Default Level
2: System level
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 on a client 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.
If the client does not support first authentication, it will reject unauthenticated servers. In this case, you
need to configure the public keys of the servers and specify the mappings between public keys and
servers on the client, so that the client uses the correct public key of a server to authenticate the
server.
Note that the specified host public key of the server must already exist.
Related commands:
ssh client first-time enable
.
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 publickey key1
ssh client first-time enable
Syntax
ssh client first-time e
nable
undo ssh client first-tim
e
View
System view
Default Level
2: System level
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...