2-11
Follow these steps to disable first-time authentication:
To do...
Use the command…
Remarks
Enter system view
system-view
—
Disable first-time authentication
support
undo ssh client first-time
Optional
By default, first-time
authentication is supported on
a client.
Configure the server public key
Refer to
Configuring a Client
Public Key
Required
The method of configuring
server public key on the client is
similar to that of configuring
client public key on the server.
Specify the host public key
name of the server
ssh client
authentication
server
server
assign
publickey
keyname
Required
Establishing a Connection Between the SSH Client and the Server
Follow these steps to establish the connection between the SSH client and the server:
To do...
Use the command…
Remarks
Establish a connection between
the SSH client and server, and
specify the public key algorithm,
preferred encryption algorithms,
preferred HMAC algorithms and
preferred key exchange
algorithm
ssh2
server
[
port-number
]
[
identity-key
{
dsa
|
rsa
} |
prefer-ctos-cipher
{
3des
|
aes128
|
des
} |
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
3des
|
aes128
|
des
} |
prefer-stoc-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} ] *
Required
Use either command in
user view.
Displaying and Maintaining SSH
To do…
Use the command…
Remarks
Display the source IP address or interface
currently set for the SFTP client
display sftp client source
Available in any view
Display the source IP address or interface
currently set for the SSH client
display ssh client source
Available in any view
Display SSH server status information or
session information on an SSH server
display ssh server
{
status
|
session
}
Available in any view
Display the mappings between SSH
servers and their host public keys saved on
an SSH client
display ssh server-info
Available in any view
Display information about a specified or all
SSH users on the SSH server
display ssh
user-information
[
username
]
Available in any view
Display the public keys of the local key
pairs
display public-key local
{
dsa
|
rsa
}
public
Available in any view
Содержание S5810 Series
Страница 307: ...ii Configured Multicast Group Policy Fails to Take Effect 1 32...
Страница 648: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...
Страница 812: ...1 7 Role Slave Sysname stack_3 DeviceD Device type S5810 50S MAC address 000f e200 1003...