![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/b/49/b492e71d-9834-42c0-9a30-0e5fe46caf57/b492e71d-9834-42c0-9a30-0e5fe46caf57-bgf9.png)
setssh(8)
System Administration 227
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 Generatesa host publickey forSSH. Automatically replieswith '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/wRFGSRRxFI+Ub5oLRxN8+A8=abcd@example.com
[Enter]
[Ctrl+D]