Sample Ssh Configuration - HP PROCURVE 6208M-SX Installation And Getting Started Manual

Hewlett-packard switch user manual
Hide thumbs Also See for PROCURVE 6208M-SX:
Table of Contents

Advertisement

Installation and Getting Started Guide
1 closed
2 closed
3 closed
4 closed
5 closed
SSH connections:
1 established, client ip address 209.157.22.8
16 seconds in idle
2 established, client ip address 209.157.22.21
42 seconds in idle
3 established, client ip address 209.157.22.68
49 seconds in idle
4 closed
5 closed
Syntax: show who
To terminate one of the active SSH connections, enter the following command:
HP9300# kill ssh 1
Syntax: kill ssh <connection-id>

Sample SSH Configuration

The following is a sample SSH configuration for an HP device.
hostname HP9300
ip dns domain-name hpshopping.com
!
aaa authentication login default local
username neville password .....
username lynval password .....
username terry password .....
!
ip ssh permit-empty-passwd no
!
ip ssh pub-key-file tftp 192.168.1.234 pkeys.txt
!
crypto key generate rsa public_key "1024 35 144460146631716543532035011163035196
41193195125205894452637462409522275505020845087302985209960346239172995676329357
24777530188666267898195648253181551624681394520681672610828188310413962242301296
26883937176769776184984093100984017075369387071006637966650877224677979486802651
458324218055083313313948534902409 HP9300@hpshopping.com"
!
crypto key generate rsa private_key "*************************"
!
ip ssh authentication-retries 5
This aaa authentication login default local command configures the device to use the local user accounts to
authenticate users attempting to log in.
Three user accounts are configured on the device. The ip ssh permit-empty-passwd no command causes
users always to be prompted for a password when they attempt to establish an SSH connection. Since the device
uses local user accounts for authentication, only these three users are allowed to connect to the device using
SSH.
The ip ssh pub-key-file tftp command causes a public key file called pkeys.txt to be loaded from a TFTP server
at 192.168.1.234. To gain access to the HP device using SSH, a user must have a private key that corresponds to
one of the public keys in this file.
4 - 8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve 1600m

Table of Contents