nerdexam
SUN

310-200 · Question #245

Given/var/svc/log/network-ssh:default.log: [ Jan 26 16:54:28 Leaving maintenance because clear requested. ] [ Jan 26 16:54:28 Enabled. ] [ Jan 26 16:54:28 executing start method…

The correct answer is A. Users will not be able to use ssh to log into this system. B. The root user must generate a public/private key pair to allow the ssh service to start. See the full explanation below for the reasoning.

Question

Given/var/svc/log/network-ssh:default.log:

[ Jan 26 16:54:28 Leaving maintenance because clear requested. ] [ Jan 26 16:54:28 Enabled. ] [ Jan 26 16:54:28 executing start method ("/lib/svc/method/sshd start") ] Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 2. Could not load hostkey or GSS-API mechanisms sshd: no hostkeys available -- exiting. [ Jan 26 16:54:28 Method "start" exited with status 1 ] Which two statements are true? (Choose two.)

Options

  • AUsers will not be able to use ssh to log into this system.
  • BThe root user must generate a public/private key pair to allow the ssh service to start.
  • CThe #svcadm clear ssh command will fix this problem.
  • DFor the ssh service, svcs will currently show this:
  • EThere are host key files in /etc/ssh.

How the community answered

(37 responses)
  • A
    78% (29)
  • C
    14% (5)
  • D
    3% (1)
  • E
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 310-200 Practice