beautypg.com

FUJITSU SPARC ENTERPRISE M9000 User Manual

Page 320

background image

setssh(8)

296

SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised August 2009

EXAMPLE 6

Generates a SSH2 host public key, even if one already exists. Automatically
replies with

"

y

"

to the prompt.

EXAMPLE 7

Generates a host public key for SSH2. Automatically replies with

"

y

"

without

displaying the prompt.

EXAMPLE 8

Registers the user public key. Finish the input of public key by pressing En-
ter

and then pressing

"

Ctrl

" and "

D

"

EXAMPLE 9

Registers the user public key by specifying the user name. Finish the input of
public key by pressing Enter and then pressing

"

Ctrl

" and "

D

"

.

XSCF>

setssh -c genhostkey -y

Host key already exists. The key will be updated. Continue? [y|n] :y

Please reset the XSCF by rebootxscf to apply the ssh settings.

XSCF>

setssh -c genhostkey -q -y

XSCF>

setssh -c addpubkey

Please input a public key:

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFh95SohrDgpnN7zFCJCVNy+jaZPTjNDxcid

QGbihYDCBttI4151Y0Sv85FJwDpSNHNKoVLMYLjtBmUMPbGgGVB61qskSv/
FeV44hefNCZMiXGItIIpK

P0nBK4XJpCFoFbPXNUHDw1rTD9icD5U/[email protected]

[Enter]

[Ctrl]and[D]

XSCF>

setssh -c addpubkey -u efgh

Please input a public key:

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFh95SohrDgpnN7zFCJCVNy+jaZPTjNDxcid

QGbihYDCBttI4151Y0Sv85FJwDpSNHNKoVLMYLjtBmUMPbGgGVB61qskSv/
FeV44hefNCZMiXGItIIpK

P0nBK4XJpCFoFbPXNUHDw1rTD9icD5U/[email protected]

[Enter]

[Ctrl]and[D]