beautypg.com

HP VMA-series Memory Arrays User Manual

Page 197

background image

AM456-9026A

HP VMA SAN Gateway User’s Guide

197

SSH Client Commands

Generate Public/Private Keys

ssh client user identity generate [passphrase
]

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.

Set Public/Private Key for a User

ssh client user identity public-key
ssh client user identity private-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.

Remove Public/Private Keys for a User

no ssh client user identity []

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

directory is deleted.

Add a Public Key to a Key List

ssh client user authorized-key sshv2

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.

Remove Public Key From a Key List

no ssh client user authorized-key sshv2

This manual is related to the following products: