Configuration Guide SSH Commands
You can disconnect a SSH connection by entering the ID of the SSH connection or disconnect a SSH
connection by entering the specified VTY connection ID. Only connections of the SSH type can be
disconnected.
The following example disconnects the established SSH connection by specifying the SSH session
ID.
Ruijie# disconnect ssh 1
The following example disconnects the established SSH connection by specifying the VTY session
ID.
Ruijie# disconnect ssh vty 1
Displays the information about the established SSH connection.
clear line vty line_number
Disconnects the current VTY connection.
11.4 ip scp server enable
Use this command to enable the SCP server function on a network device.
Use the no form of this command to restore the default setting.
This function is disabled by default.
Global configuration mode
Secure Copy (SCP) enables an authenticated user to transfer files to/from a remote device in an
encrypted way, with high security and guarantee.
The following example enables the SCP server function.
Ruijie# configure terminal
Ruijie(config)# ip scp server enable