< Home

ssh server compatible-ssh1x enable

Function

The ssh server compatible-ssh1x enable command enables the earlier version-compatible function on the SSH server.

The undo ssh server compatible-ssh1x enable command disables the earlier version-compatible function on the SSH server.

Format

ssh server compatible-ssh1x enable

undo ssh server compatible-ssh1x enable

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

By default, the earlier version-compatible function is disabled on the SSH server.

The earlier version-compatible function of the SSH server is applicable to the protocol version negotiation between the client and server. After a TCP connection is set up between the client and the server, the SSH client starts to negotiate with the server on the protocol version by running which they can work normally.

By comparing the protocol versions, the server determines whether to work with the client.

  • If the client runs a protocol version that is earlier than 1.3 or later than 2.0, version negotiation fails and the server terminates the TCP connection with the client.

  • If the client runs a protocol version that is between 1.3 and 1.99, the SSH1.5 server module is established when the "compatibility configuration option" of SSH is SSH1.x-compatible. The system then proceeds with the SSH1.x process. The server terminates the TCP connection with the client when the "compatibility configuration option" of SSH is SSH1.x-incompatible.

  • If the client runs a protocol version that is 1.99 or 2.0, the SSH2.0 server module is established. The system then proceeds with the SSH2.0 process.

Example

# Enable the earlier version-compatible function on the SSH server.

<sysname> system-view
[sysname] ssh server compatible-ssh1x enable
 Info: SSHv1 is not a secure protocol, and it is recommended to use SSHv2.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >