1
0
mirror of https://github.com/5im-0n/sshenc.sh.git synced 2025-08-02 19:30:05 +02:00
This commit is contained in:
s2
2019-01-17 08:28:26 +01:00
parent 7524cf078a
commit 9b25ede786

View File

@@ -31,7 +31,7 @@ sshenc.sh -p <(curl -sf "https://github.com/S2-.keys" | grep ssh-rsa | tail -n1)
``` ```
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.
### dedecrypt a file ### decrypt a file
``` ```
sshenc.sh -s ~/.ssh/id_rsa < encrypted.txt sshenc.sh -s ~/.ssh/id_rsa < encrypted.txt
``` ```