debugging ssh server

Function

The debugging ssh server command enables the debugging function of SSH server module.

The undo debugging ssh server command disables the debugging function of SSH server module.

By default, the debugging of SSH server module is disabled.

Format

debugging ssh server { message | event | packet | all | state-transition | error } [ session session-id ]

undo debugging ssh server message [ session session-id ]

undo debugging ssh server event [ session session-id ]

undo debugging ssh server packet [ session session-id ]

undo debugging ssh server all [ session session-id ]

undo debugging ssh server state-transition [ session session-id ]

undo debugging ssh server error [ session session-id ]

Parameters

Parameter Description Value
message

Displays debugging information about message of SSH client.

-

event

Displays debugging information about event of SSH client.

-

packet

Displays debugging information about packet of SSH client.

-

all

Enables all debugging functions of SSH client.

-

state-transition

Displays debugging information about state transition of SSH client.

-

error

Displays debugging information about error of SSH client.

-

session session-id

Specifies the session ID.

The value is an integer ranging from 1 to 1024.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ssh-server debug

Usage Guidelines

When an SSH server module becomes faulty, the network administrator cannot perform local management using SSH server to start, modify, or delete configuration on the remote device. You can run this command to start the debugging information on the SSH server module and rapidly locate faults based on the obtained information.

Example

# Enable all SSH server module debugging information.
<HUAWEI> debugging ssh server all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic