PrepAway - Latest Free Exam Questions & Answers

what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is

CORRECT TEXT

With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell
that is not set when X11 forwarding is not enabled? (Specify only the environment variable without
any additional commands or values.)

PrepAway - Latest Free Exam Questions & Answers

Answer: DISPLAY, $DISPLAY

One Comment on “what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is

  1. ishmahl says:

    Ans: DISPLAY

    you should not set your DISPLAY variable, ssh will do it for you.

    It will look something like:
    echo $DISPLAY
    localhost:12.0
    X11 forwarding must be allowed by the SSH server. Check /etc/ssh/sshd_config for a line saying “X11Forwarding yes”.




    0



    0

Leave a Reply