Ssh Client First-Time Enable - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

If a pair of SSH peers are both switches that support both DSA and RSA, you must configure the DSA
public key of the server on the client.
Related command: ssh client first-time enable.
Examples
# Specify the name of the DSA public key of the server (whose IP address is 192.168.0.1) as pub.ppk
on the client.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] ssh client 192.168.0.1 assign publickey pub.ppk

ssh client first-time enable

Syntax
ssh client first-time enable
undo ssh client first-time
View
System view
Parameters
None
Description
Use the ssh client first-time enable command to enable the client to run first-time authentication for
the SSH server it accesses for the first time.
Use the undo ssh client first-time command to disable the client from running first-time
authentication.
With first-time authentication enabled, an SSH client that is not configured with the server's host
public key can continue accessing the server when it accesses the server for the first time, and it
will save the host public key for use in subsequent authentications.
With first-time authentication disabled, an SSH client that is not configured with the server host
public key will refuse to access the server. For such a client to access the server, you must
configure the server's host public key and specify the public key name for authentication on the
client in advance.
1-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents