Skip to content

Instantly share code, notes, and snippets.

@berwiecom
Last active November 7, 2023 12:43
Show Gist options
  • Save berwiecom/d5688a2aba8859c226ea71b83b3807d9 to your computer and use it in GitHub Desktop.
Save berwiecom/d5688a2aba8859c226ea71b83b3807d9 to your computer and use it in GitHub Desktop.
PCS : CNF : .netrc
# Used too by cURL, wget, ...
machine kms
login berwien
password
# Last entry can be 'default'
default
login anonymous
password user@site
# General :
# https://gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html
# export NETRC=/path/outside/home
# cURL :
# https://everything.curl.dev/usingcurl/netrc
# -n, --netrc # .netrc = mandatory
# --netrc-optional # .netrc = optional
# --netrc-file /path # alternative path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment