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

documentation

This commit is contained in:
s2
2017-10-25 18:11:00 +02:00
parent b3573ed635
commit 5738678d3c
2 changed files with 8 additions and 1 deletions

View File

@@ -2,6 +2,13 @@
bash script to encrypt data using a users ssh public key.
> If you received a message from someone that was encrypted with this script, you can
> just use openssl to decrypt it, without the need to download this script:
```
(openssl base64 -d | openssl rsautl -decrypt -inkey ~/.ssh/id_rsa) < file-containing-the-encrypted-text.txt
```
## examples
### encrypt a file using your own ssh public key