R3166-R3206-HP High-End Firewalls Getting Started Guide-6PW101
32
This section includes these topics:
• Configuring the SSH server
• Configuring the SSH client to log in to the SSH server
Configuring the SSH server
Configuration prerequisites
You have logged in to the device, and want to log in to the device through SSH in the future.
By default, you can log in to the device through the console port without authentication and have user
privilege level 3 after login. For information about logging in to the device with the default configuration,
see “Configuration requirements.”
Configuration procedure
Follow these steps to configure the device that serves as an SSH server:
To do… Use the command…
Remarks
Enter system view system-view —
Create local key pair(s) public-key local create { dsa | rsa }
Required
By default, no local key pair(s) are
created.
Enable SSH server ssh server enable
Required
By default, SSH server is disabled.
Enter one or more VTY user
interface views
user-interface vty first-number
[ last-number ]
—
Specify the scheme authentication
mode
authentication-mode scheme
Required
By default, authentication mode for
VTY user interfaces is scheme.
Enable the current user interface to
support either Telnet, SSH, or both
of them
protocol inbound { all | ssh }
Optional
By default, both protocols are
supported.
Enable command authorization command authorization
Optional
• By default, command
authorization is not enabled.