3com 8807 참조 가이드
958
C
HAPTER
56: SSH T
ERMINAL
S
ERVICE
C
ONFIGURATION
C
OMMANDS
ssh client first-time
enable
Syntax
ssh client first-time enable
undo client ssh first-time
View
System view
Parameter
None
Description
Use the ssh client first-time enable command to set the SSH client to perform
the first-time authentication of the SSH server to be accessed.
the first-time authentication of the SSH server to be accessed.
Use the undo ssh client first-time command to cancel the first-time
authentication.
authentication.
The first-time authentication means that when the SSH client accesses the server
for the first time in the case that there is no local copy of the server’s public key,
the user can proceed to access the server and save a local copy of the server’s
public key; when the client accesses the server next time, it uses the saved public
key to authenticate the server.
for the first time in the case that there is no local copy of the server’s public key,
the user can proceed to access the server and save a local copy of the server’s
public key; when the client accesses the server next time, it uses the saved public
key to authenticate the server.
If the first-time authentication is not supported, when there is no local copy of the
public key of the connected server, the client assumes that the server is illegal and
will refuse to access the server. The user can save a copy of the server’s public key
locally by other means beforehand.
public key of the connected server, the client assumes that the server is illegal and
will refuse to access the server. The user can save a copy of the server’s public key
locally by other means beforehand.
By default, the client does not perform the first-time authentication.
Example
# Set the SSH client to perform the first-time authentication of the SSH server to
be accessed.
be accessed.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] ssh client first-time enable
ssh2
Syntax
ssh2 { host-ip | host-name } [ port-num ] [ prefer_kex { dh_group1 |
dh_exchange_group } ] [ prefer_ctos_cipher { des | 3des | aes128 } ] [
prefer_stoc_cipher { des | 3des | aes128 } ] [ prefer_ctos_hmac { sha1 |
sha1_96 | md5 | md5_96 } ] [ prefer_stoc_hmac { sha1 | sha1_96 | md5 |
md5_96 } ]
dh_exchange_group } ] [ prefer_ctos_cipher { des | 3des | aes128 } ] [
prefer_stoc_cipher { des | 3des | aes128 } ] [ prefer_ctos_hmac { sha1 |
sha1_96 | md5 | md5_96 } ] [ prefer_stoc_hmac { sha1 | sha1_96 | md5 |
md5_96 } ]
View
System view
Parameter
host-ip: IP address of the server.