beautypg.com

Configuring netconf over ssh, Configuring the user lines for ssh login, Required.) configuring netconf over ssh – H3C Technologies H3C S6300 Series Switches User Manual

Page 286

background image

271

The device that acts as an SSH server does not support SFTP connections initiated by SSH1 clients.
To enable the SFTP server:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the SFTP server.

sftp server enable

By default, the SFTP server is
disabled.

Configuring NETCONF over SSH

After you enable NETCONF over SSH on the device, a client can 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:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter VTY user line view.

line vty number [ ending-number ] N/A

3.

Set the login authentication
mode to scheme.

authentication-mode scheme

By default, the authentication
mode is password.
For more information about this
command, see Fundamentals

Command Reference.