Skip to content

Commit

Permalink
Create netrc.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf authored Jan 22, 2025
1 parent 68bd9c9 commit 707bfd5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Cheat Sheets/Network/netrc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Usage

The `.netrc` [file](https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html) can be used to provide credentials to many CLI tools (e.g. wget, git).

Syntax:

machine example.com
login admin
password verysecret

## Security

When using `.netrc` consider

- that your passwords are stored in plain text
- to use proper file permissions (e.g. 0600)

0 comments on commit 707bfd5

Please sign in to comment.