nerdexam
LPI

202-400 · Question #58

Connecting to a remote host on the same LAN using ssh public-key authentication works but forwarding X11 doesn't. The remote host allows access to both services. Which of the following can be the…

The correct answer is B. The remote server's sshd_config file disallows X11 forwarding. See the full explanation below for the reasoning.

Question

Connecting to a remote host on the same LAN using ssh public-key authentication works but forwarding X11 doesn't. The remote host allows access to both services. Which of the following can be the reason for that behaviour?

Options

  • AThe remote user's ssh_config file disallows X11 forwarding
  • BThe remote server's sshd_config file disallows X11 forwarding
  • CA different public key has to be used for X11
  • DX11 cannot be forwarded if public-key authentication was used
  • EX11 though SSH needs a special X11 server application installed

How the community answered

(40 responses)
  • A
    8% (3)
  • B
    83% (33)
  • C
    5% (2)
  • D
    3% (1)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice