FUJITSU SPARC ENTERPRISE M4000 User Manual

Page 251

Advertising
background image

setssh(8)

System Administration

277

EXAMPLES

EXAMPLE 1

Starts the SSH service.

EXAMPLE 2

Starts the SSH service. Automatically replies with 'y' to the prompt.

EXAMPLE 3

Starts the SSH service. Automatically replies with 'y' without displaying
the prompt.

EXAMPLE 4

Stops the SSH service.

EXAMPLE 5

Generates a host public key for SSH.

EXAMPLE 6

Generates a host public key for SSH. Automatically replies with 'y' to the
prompt.

EXAMPLE 7

Generates a host public key for SSH. Automatically replies with 'y' without
displaying the prompt.

EXAMPLE 8

Registers the user public key. Finish the input of public key by pressing
Enter

and then pressing Ctrl+D.

XSCF>

setssh -c enable

Continue? [y|n] :

y

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

XSCF>

setssh -y -c enable

Continue? [y|n] :y
Please reset the XSCF by rebootxscf to apply the ssh settings.

XSCF>

setssh -q -y -c enable

XSCF>

setssh -c disable

XSCF>

setssh -c genhostkey

Host key create. Continue? [y|n] :

y

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

XSCF>

setssh -c genhostkey -y

Host key create. 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+D]

Advertising