-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02bf346
commit 5eb23ee
Showing
9 changed files
with
95 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,8 @@ List all except a pattern: | |
|
||
### Download a file | ||
|
||
wget https://server.com/myfile | ||
wget https://server.com/myfile.txt | ||
curl -o myfile.txt https://server.com/myfile.txt | ||
|
||
### Pretty file tree | ||
|
||
|
@@ -612,3 +613,19 @@ Use `d *` to delete all. | |
#### launchd | ||
|
||
https://www.launchd.info/ | ||
|
||
## Security | ||
|
||
### SSH | ||
|
||
Create: | ||
|
||
ssh-keygen -t rsa -b 4096 -C "[email protected]" | ||
ssh-keygen -t ed25519 -C "[email protected]" | ||
|
||
NOTE: ssh-keygen will ask for a filename, so no risk of overwriting your old key. | ||
|
||
Connect: | ||
|
||
ssh -i keyfile target_machine | ||
ssh -i ~/.ssh/filnamn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters