http user/password option in fetch command
Jin Guojun[VFF]
jguojun at gmail.com
Thu Jan 23 00:59:59 UTC 2020
Some HTTP server (not using standard port 80), seems not taking the
standard user:password format.
fetch http://$USER:$PW@server:1234/locations (FreeBSD) and
wget --user=$USER --password=$PW http://server:1234/locations (Linux) and
wget http://$USER:$PW@server:1234/locations all get 403 Forbidden Error.
The wget has an option --auth-no-challenge that solves the problem.
I wonder if the "fetch" command has a similar option. If not, does
anyone know a way to work around this problem?
-Jin
More information about the freebsd-questions
mailing list