HP VMA-series Memory Arrays User Manual

Page 158

Advertising
background image

158

AM456-9007B Rev 02

HP VMA SAN Gateway Installation and User Guide

SSH Client

ssh client user <username> identity <key-type> generate
[passphrase <phrase>]

Generate a new identity (private and public keys) for the specified user name. The

given user name must correspond to a valid local user account. When the keys are

generated, the private key is written to the user’s ssh directory in an appropriately

named file (

id_dsa

).

This identity can be used when the user uses the

slogin

command to connect from

the system to another host.

DSA and RSA v2 keys for SSHv2 can be generated. This is specified with

dsa2

or

rsa2

as the key-type parameter.

ssh client user <username> identity <key-type> public-key
<key>
ssh client user <username> identity <key-type> private-key
<key>

Set the public or private key (of specified type) for the specified user name. This is

an alternative to generating the key in the above command and is also used for

reverse mapping generated keys.

no ssh client user <username> identity [<key-type>]

Removes the public/private keys for the specified user. Any private key file in a

valid user SSH directory is deleted.

ssh client user <username> authorized-key sshv2 <key>

The specified key is added to the list of authorized sshv2 RSA or DSA public keys

for this user account. These keys can be used to log into the user’s account. The

specified user must be a valid account on the system. As keys are added, an implicit

id is associated with the key. This is to make key deletion easier.

Be aware that if a key is being pasted from a cut buffer and was displayed with a

paging program, it is likely that newline characters have been inserted, even if the

output was not long enough to require paging. Most likely

show

command output

will be displayed this way, as paging is enabled by default in the CLI. One can

specify

no cli session paging enable

before doing the show command to

prevent the newlines from being inserted.

no ssh client user <username> authorized-key sshv2 <key id>

Advertising
This manual is related to the following products: