274
Enabling the SFTP server function
This SFTP server function enables clients to log in to the device through SFTP.
To enable the SFTP server function:
Ste
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enable the SFTP server
function.
sftp server enable
By default, the SFTP server function
is disabled.
Configuring NETCONF over SSH
This function is available in Release 2311P04 and later versions.
This function allows users to use to perform NETCONF operations on the device through a
NETCONF-over-SSH connection.
When the device acts as a server in the NETCONF-over-SSH connection, connection requests initiated by
SSH1 clients are not supported.
For more information about NETCONF over SSH commands, see Network Management and
Monitoring Command Reference.
To configure NETCONF over SSH:
Step
Command
Remark
1. Enter system view.
system-view N/A
2. Enable NETCONF over
SSH.
netconf ssh server enable
By default, NETCONF over SSH is
disabled.
3. Specify a port to listen for
NETCONF-over-SSH
connections.
netconf ssh server port port-number
By default, port 830 listens for
NETCONF-over-SSH connections.
Configuring the user lines for SSH login
Depending on the SSH application, an SSH client can be an Stelnet, SFTP, SCP, or NETCONF-over-SSH
client.
Only Stelnet and NETCONF-over-SSH clients require the user line configuration. The user line
configuration takes effect on the clients at the next login.
To configure the user lines for Stelnet and NETCONF-over-SSH clients:
Ste
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter VTY user line view.
line vty number [ ending-number ]
N/A