Get a free shell account on a community server

gpg --recv-keys 0xD2C4C74D8FAA96F5 && curl https://hashbang.sh | gpg -o hashbang.sh && less hashbang.sh

March 15, 2015lrvick

Explanation

hashbang.sh provides a free shell account on a community server, by running a shell script that they provide, signed using gpg.

Running a provided shell script blindly would be a bad idea and could compromise the security of your system, so we must take a few cautions steps first.

With gpg --recv-keys 0xD2C4C74D8FAA96F5 we import they keys of hashbang.sh so that we can verify the provided script was indeed signed by them.

With curl https://hashbang.sh | gpg -o hashbang.sh we download the script, verify its signature with gpg, and save it in a file named hashbang.sh.

With less hashbang.sh we verify the content of the script to make sure it's legit before we would consider running it.

All the above commands we chained them together with &&, so if any of the verification steps fail, we will not reach the step of reading the file, and it's a signal that we should not continue using it.

If the script looks legit, then you can finally run it to get access to the free shell account on the community server of hashbang.sh.