mirror of
https://github.com/appleboy/scp-action.git
synced 2024-11-27 17:45:06 +08:00
Update README.md (#123)
This commit is contained in:
parent
c209399d24
commit
cdeb36bbf9
34
README.md
34
README.md
@ -251,6 +251,23 @@ Remove the specified number of leading path elements:
|
|||||||
strip_components: 1
|
strip_components: 1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Old target structure:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
foobar
|
||||||
|
└── tests
|
||||||
|
├── a.txt
|
||||||
|
└── b.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
New target structure:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
foobar
|
||||||
|
├── a.txt
|
||||||
|
└── b.txt
|
||||||
|
```
|
||||||
|
|
||||||
Only copy files that are newer than the corresponding destination files:
|
Only copy files that are newer than the corresponding destination files:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -279,23 +296,6 @@ Only copy files that are newer than the corresponding destination files:
|
|||||||
target: your_server_target_folder_path
|
target: your_server_target_folder_path
|
||||||
```
|
```
|
||||||
|
|
||||||
Old target structure:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
foobar
|
|
||||||
└── tests
|
|
||||||
├── a.txt
|
|
||||||
└── b.txt
|
|
||||||
```
|
|
||||||
|
|
||||||
New target structure:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
foobar
|
|
||||||
├── a.txt
|
|
||||||
└── b.txt
|
|
||||||
```
|
|
||||||
|
|
||||||
Protecting a Private Key. The purpose of the passphrase is usually to encrypt the private key. This makes the key file by itself useless to an attacker. It is not uncommon for files to leak from backups or decommissioned hardware, and hackers commonly exfiltrate files from compromised systems.
|
Protecting a Private Key. The purpose of the passphrase is usually to encrypt the private key. This makes the key file by itself useless to an attacker. It is not uncommon for files to leak from backups or decommissioned hardware, and hackers commonly exfiltrate files from compromised systems.
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
|
Loading…
Reference in New Issue
Block a user