Welcome to the Linux Foundation Forum!

Authentication credentials for wget?

abergjr
abergjr Posts: 2
edited November 2023 in LFD259 Class Forum

Hi,

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

Answers

  • fcioanca
    fcioanca Posts: 2,148

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

  • abergjr
    abergjr Posts: 2
    edited November 2023

    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)... 65.9.55.58, 65.9.55.124, 65.9.55.104, ...
    Connecting to cm.lf.training (cm.lf.training)|65.9.55.58|: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: 2,148
    edited November 2023

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

Categories

Upcoming Training