Tutorials

Generate SSH Key – Linux, Mac and Windows

In this quick tutorial, Generate SSH Key, we will learn more exactly how to generate a SSH Key in Linux or Mac using a terminal window and also in Windows using Putty. Before we start our little journey we should be clear about one thing, all SSH Keys consists of two parts, a Private Key and a Public Key. In this article we’ll generate both these keys and we’ll learn the importance but also the difference between these two. What is a Pivate Key As we said in our introduction a SSH Key contains a Private Key and a Public […]

Category: Security | Published: 09/02/2018 | Updated: 05/11/2018

How to create user in Linux

In this example we will explain how to create user in Linux and how to protect this user by setting up a password for it, we will demonstrate how to create a user account and not a system account. For this particular example we’ll use CentOS 7 as our main operating system and all the above tasks will be performed using shell prompt. Connecting to our environment As we mentioned before will be using shell prompt in our example and we’ll have to initiate a SSH connection in order to connect to our CentOS 7 environment. We can use Putty […]

Category: General | Published: 08/02/2018 | Updated: 05/11/2018

Multiple DNS lookups with Bash

Multiple DNS lookups with Bash scripting for a predefined list of domain names, more fun but this time using our bash scripting skills. We all know and must agree that Bash is still a very powerful tool when properly used, we can script pretty much anything at the OS level from small tasks like removing files, truncating logs or initiating backups up to more large scale tasks like deploying code locally or even on remote servers. In this really small tutorial we will guide you how to perform multiple DNS lookups by simply scripting this task in Bash. Table of […]

Category: Bash | Published: 07/02/2018 | Updated: 27/11/2018

How to generate CSR in Linux

In this example we will explain how to generateĀ CSR in Linux using shell prompt or terminal window. A CSR is mostly required when you want to secure for example a website or a connection between one or more services that requires a secure connection. Any SSL issuer will always ask you to generate and present a CSR. We’ve chose CentOS for this Certificate Signing Request example as our main operating system. Required packages First step is to make sure that we have openssl and openssl-devel packages installed and updated in order to generate our very first CSR. The package manager […]

Category: Security | Published: 24/01/2018 | Updated: 05/11/2018