proxy-user.d 902 B

123456789101112131415161718192021
  1. Long: proxy-user
  2. Short: U
  3. Arg: <user:password>
  4. Help: Proxy user and password
  5. Category: proxy auth
  6. Example: --proxy-user name:pwd -x proxy $URL
  7. Added: 4.0
  8. ---
  9. Specify the user name and password to use for proxy authentication.
  10. If you use a Windows SSPI-enabled curl binary and do either Negotiate or NTLM
  11. authentication then you can tell curl to select the user name and password
  12. from your environment by specifying a single colon with this option: "-U :".
  13. On systems where it works, curl will hide the given option argument from
  14. process listings. This is not enough to protect credentials from possibly
  15. getting seen by other users on the same system as they will still be visible
  16. for a brief moment before cleared. Such sensitive data should be retrieved
  17. from a file instead or similar and never used in clear text in a command line.
  18. If this option is used several times, the last one will be used.