1
0
mirror of https://github.com/5im-0n/sshenc.sh.git synced 2025-08-02 19:30:05 +02:00

user rsa key in documentation

This commit is contained in:
s2
2017-10-27 16:25:51 +02:00
parent 0d22298137
commit 36d21c89c8

View File

@@ -29,7 +29,7 @@ chmod +x sshencdec.sh
### 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.