Hi! I was working on Linux Level 2 Lab 22 (Linux GPG Encryption) and one of the instruction that the lab has given me (to do in Storage Server) was:
Decrypt
/home/decrypt_me.ascto/home/decrypted_me.txt. (Passphrase for decryption and encryption iskodekloud).
So as usual I SSH-ed into the server and listed the files present on the directory. I found the keys to use but can’t find the file meant to be decrypted.
thor@jump-host ~$ ssh natasha@ststor01
The authenticity of host 'ststor01 (10.244.247.241)' can't be established.
ED25519 key fingerprint is SHA256:P+FPg4mWJOn7tZqOLh0y7yna7lK+91BJKWHlcE7KaUY.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'ststor01' (ED25519) to the list of known hosts.
natasha@ststor01's password:
[natasha@ststor01 ~]$ ls /home
encrypt_me.txt natasha private_key.asc public_key.asc
[natasha@ststor01 ~]$ cat /home/decrypt_me.asc
cat: /home/decrypt_me.asc: No such file or directory
[natasha@ststor01 ~]$
The instruction before the decryption task was to encrypt /home/encrypt_me.txt.
Encrypt
/home/encrypt_me.txtto/home/encrypted_me.asc.
I tried to decrypt the output of the encryption thinking it might be a simple typo but that results in failed task still.
Anyone can confirm this was not error on my part? Thank you very much!