How To Set Up SSH Keys

SSH keys provide a more secure way of logging into a virtual private server with SSH than using a password alone. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone. Generating a key pair provides you with two long string of characters: a public and a private key. You can place the public key on any server, and then unlock it by connecting to it with a client that already has the private key. When the two match up, the system unlocks without the need for a password. You can increase security even more by protecting the private key with a passphrase.

Continue reading

Hello World in Perl

This is how you would display “Hello World” in Perl. It’s quite similar to Bash, but note the differences carefully!

Create a text file called hello_world.pl containing the following code:

Navigate to a directory where your hello_world.pl is located and make the file executable:
Now you are ready to execute your first perl script:

Hello World in Bash

This is how you would display “Hello World” in Bash.

Create a text file called hello_world.sh containing the following code:

Navigate to a directory where your hello_world.sh is located and make the file executable:
Now you are ready to execute your first bash script: