2
0

proxy-user.d 917 B

12345678910111213141516171819202122
  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. See-also: proxy-pass
  9. ---
  10. Specify the user name and password to use for proxy authentication.
  11. If you use a Windows SSPI-enabled curl binary and do either Negotiate or NTLM
  12. authentication then you can tell curl to select the user name and password
  13. from your environment by specifying a single colon with this option: "-U :".
  14. On systems where it works, curl will hide the given option argument from
  15. process listings. This is not enough to protect credentials from possibly
  16. getting seen by other users on the same system as they will still be visible
  17. for a moment before cleared. Such sensitive data should be retrieved from a
  18. file instead or similar and never used in clear text in a command line.
  19. If this option is used several times, the last one will be used.