Which describes the minimum set of commands to be executed to bring the svc: /network/ssh: default service back online?

The following information is displayed for the svc:/network/ssh service:

Which describes the minimum set of commands to be executed to bring the svc: /network/ssh:
default service back online?

The following information is displayed for the svc:/network/ssh service:

Which describes the minimum set of commands to be executed to bring the svc: /network/ssh:
default service back online?

A.
svcadm refresh svc:/network/ssh:default

B.
svcadm restart svc:/network/ssh:default

C.
svcadm enable svc:/system/cryptosvc

D.
svcadm enable svc:/system/cryptosvcsvcadm enable svc:/network/ipfilter:defaultsvcadm enable
svc:/network/ssh:default

E.
svcadm enable svc:/system/cryptosvcsvcadm enable svc:/network/ipfilter:defaultsvcadm refresh
svc:/network/ssh:default

F.
svcadm restart svc:/system/cryptosvcsvcadm restart svc:/network/ipfilter:defaultsvcadm restart
svc:/network/ssh:default

G.
svcadm enable svc:/system/ssh:default



Leave a Reply 9

Your email address will not be published. Required fields are marked *


Jambass

Jambass

D is correct!!
Because you need first enable all defences service before enable ssh service

ton_adam

ton_adam

Correct, however svc:/network/ipfilter:defaults is optional.

david

david

C is correct. you can have a test.

Armen

Armen

C is correct (test it).
Because of svc:/network/ipfilter:defaults is optional and based of the following statement from the question: minimum set of commands, correct answer is C

John

John

Definitely C – minimal option

iietam

iietam

Correct C

When cryptocvs is disabled ssh is offline on next restart.If you enable cryptocvs ssh go online

Kais Baccour

Kais Baccour

the ssh server depends on cryptosvc with require_all attribute. Hence, cryptosvc should be enabled first.
SMF will take in charge the rest of the job and you don’t need to worry about bringing the ssh up afterwards.