CLI Reference SSH Configuration Commands
disconnect ssh [ vty ] session-id
ID of the established SSH session, in the range of 0 to 35.
You can disconnect an established SSH session by entering the ID of the SSH connection or
disconnect an SSH connection by entering the specified VTY connection ID. Only connections of the
SSH type can be disconnected.
Ruijie# disconnect ssh 1
Or
Ruijie# disconnect ssh vty 1
Show the information about the established
SSH connection.
clear line vty line_number
Disconnect the current VTY connection.
Use this command to enable the Secure Copy (SCP) server function on network devices. Users can
directly download files from the network devices and upload local files to networks devices. All the
transmitted data are in ciphertext, providing authentication and security.
The SCP server function is disabled by default.
Global configuration mode.