Ssh Client Assign - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

[Sysname] ssh user user1
# Display information about SSH users.
[Sysname] display ssh user-information
Username
user1

ssh client assign

Syntax
ssh client { server-ip | server-name } assign { publickey | rsa-key } keyname
undo ssh client { server-ip | server-name } assign { publickey | rsa-key }
View
System view
Parameters
server-ip: IP address of the server.
server-name: Name of the server, a string of 1 to 184 characters.
keyname: Name of the public key of the server, a string of 1 to 64 characters.
Both publickey and rsa-key indicate specifying the publickey key. They are implemented with the same
method.
Description
Use the ssh client assign command to specify the name of the public key of the server on the client so
that the client can authenticate whether the server to be accessed is reliable.
Use the undo ssh client assign command to remove the mapping between the client and the public
key of the server.
By default, a client does not have the name of the server's public key specified and it uses the IP
address or host name that it used to log in to the SSH server as the public key name.
If a client does not support first-time authentication, it will refuse to access any unauthenticated server.
In this case, you need to configure the public key of the server on the client and associate the public key
and the server so that the client can authenticate the server during login.
Authentication-type
publickey
1-24
User-public-key-name
null
Service-type
stelnet

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents