Welcome to the Linux Foundation Forum!

Authentication credentials for wget?

abergjr Posts: 2
edited November 9 in LFD259 Class Forum


I'm trying to download the shell scripts and YAML files as requested by lab 2.1 but I get unathorized when providing the below command, can you please check if the credentials are correct?

wget https://cm.lf.training/LFD259/LFD259V2023-09-05SOLUTIONS.tar.xz--user=xxxxx --password=xxxxx


  • fcioanca
    fcioanca Posts: 1,769

    Your command seems to be missing a space between ...tar.xz and --user....

  • abergjr
    abergjr Posts: 2
    edited November 9

    Sorry, sloppy of me :) However, with change in the CMD I get another error:

    student@controll-plane:~$ wget https://cm.lf.training/LFD259/LFD259V2023-09-05SOLUTIONS.tar.xz --user=xxxxx --password=xxxx

    --2023-11-09 14:11:16-- https://cm.lf.training/LFD259/LFD259V2023-09-05SOLUTIONS.tar.xz
    Resolving cm.lf.training (cm.lf.training)...,,, ...
    Connecting to cm.lf.training (cm.lf.training)||:443... connected.
    HTTP request sent, awaiting response... 401 Unauthorized
    Authentication selected: Basic realm="Sign in"
    Reusing existing connection to cm.lf.training:443.
    HTTP request sent, awaiting response... 404 Not Found
    2023-11-09 14:11:17 ERROR 404: Not Found.

  • fcioanca
    fcioanca Posts: 1,769
    edited November 9

    Please pay attention to the note underneath the wget command in the pdf regarding copy/paste issues for underscores behavior.


Upcoming Training