3Com 4500 50-PORT Switch User Manual


 
SSH Terminal Service Configuration Commands 417
SSH Terminal Service
Configuration
Commands
This section describes the SSH configuration commands available on your Switch
4500.
debugging ssh server Syntax
debugging ssh server { VTY vty-num | all}
undo debugging ssh server {VTY vty-num | all}
View
User View
Parameter
vty-num: SSH channel to be debugged whose value is dictated by VTY numbers
ranging from 0 to 4.
all: All SSH channels
Description
Use the debugging ssh server command to send information regulated by the
SSH2.0 protocol, such as the negotiation procedure, to the information center in
the format of debugging information. You can also use it to debug a user
interface individually.
Use the undo debugging ssh server command to disable debugging.
By default, the debugging is disabled.
Related commands: ssh server authentication-retries, ssh server
rekey-interval
, ssh server timeout.
Example
To print debugging information in running SSH, enter the following:
<SW4500>debug ssh server all
<SW4500>term debug
% Current terminal debugging is on
<SW4500>
*0.1303820 SW4500 SSH/8/debugging_msg_send:- 1 -SSH_VERSION_SEND message sent
on VTY -2117588440
*0.1303929 SW4500 SSH/8/msg_rcv_vty:- 1 -SSH_VERSION_RECEIVE message received
on VTY 2
*0.1317315 SW4500 SSH/8/msg_rcv_vty:- 1 -SSH_MSG_REQUEST_PTY message received
on VTY 2
*0.1317412 SW4500 SSH/8/msg_rcv_vty:- 1 -SSH_MSG_START_SHELL message received
on VTY 2
%Apr 2 00:16:57:529 2000 SW4500 SHELL/5/LOGIN:- 1 - sting(158.101.28.103) in
unit1 login
*0.1321800 SW4500 SSH/8/msg_rcv_vty:- 1 -SSH_MSG_CHANNEL_DATA message receive
d on VTY 2
*0.1444455 SW4500 SSH/8/debugging_msg_send:- 1 -SSH_VERSION_SEND message sent
on VTY -2117588440
*0.1444572 SW4500 SSH/8/msg_rcv_vty:- 1 -SSH_VERSION_RECEIVE message received
on VTY 3