Configuring The Ssh Server - HP A5830 Series Configuration Manual

Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

On an SSH client device, log in to an SSH server to perform operations on the server.
On an SSH server device, configure the authentication mode and user level for SSH users. By default,
password authentication is adopted for SSH login, but no login password is configured, so you
cannot log in to the device through SSH by default. Before logging in to the device through SSH, log
in to the device through the console port and configure the authentication mode, user level, and
common settings.

Configuring the SSH server

This chapter describes how to configure an SSH client by using password authentication.
For more information about SSH and how to configure an SSH client by using publickey, see Security
Configuration Guide.
Configuration prerequisites
You have logged in to the device, and want to log in to the device through SSH in the future.
By default, log in to the device through the console port without authentication, having user privilege level
3 after login. For information about logging in to the device with the default configuration, see
"Configuration
Configuration procedure
Task...
1.
Enter system view.
2.
Create local key paird.
3.
Enable SSH server.
4.
Enter one or more VTY user
interface views.
5.
Specify
authentication mode.
6.
Enable the current user interface
to support SSH.
requirements."
Command...
system-view
public-key local create { dsa |
rsa }
ssh server enable
user-interface vty first-number
[ last-number ]
the
scheme
authentication-mode scheme
protocol inbound { all | ssh }
Remarks
Required.
By default, no local key paird are
created.
Required.
By default, SSH server is disabled.
Required.
By default, authentication mode for
VTY user interfaces is password.
Optional.
By default, both protocols are
supported.
45

Advertisement

Table of Contents
loading

Table of Contents