mirror of
https://github.com/5im-0n/sshenc.sh.git
synced 2025-08-03 03:40:14 +02:00
user rsa key in documentation
This commit is contained in:
@@ -29,7 +29,7 @@ chmod +x sshencdec.sh
|
|||||||
|
|
||||||
### encrypt a file using the public key of a github user
|
### encrypt a file using the public key of a github user
|
||||||
```
|
```
|
||||||
./sshencdec.sh -p <(curl -sf "https://github.com/S2-.keys" | head -n1) < plain-text-file.txt
|
./sshencdec.sh -p <(curl -sf "https://github.com/S2-.keys" | tail -n1) < plain-text-file.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
this line fetches the first public key for the github user `S2-` and encrypts the file `plain-text-file.txt` using this key.
|
this line fetches the first public key for the github user `S2-` and encrypts the file `plain-text-file.txt` using this key.
|
||||||
|
Reference in New Issue
Block a user