Password less authentication

Password less authentication

Imagine you have 100 Linux servers to manage, and you keep typing in passwords each time you log in to a server, and it would be a nightmare. Hence, most system administrators set up password-less authentication on Linux servers. It is always a good practice to set up SSH keys for authentication, which is also … Read more

Disable direct root Login

Disable direct root Login

Before we see why to disable direct root login, we will see why. Why do we need to disable direct root login There are many benefits of disabling direct SSH access to the server. But the primary one should be security. Security: When you disable direct root login, hackers will have to first guess the … Read more

TEE Command in Linux

TEE Command in Linux

TEE Command in Linux is useful when you want to redirect the standard output to a file. What it actually does is redirect output to the file and as well to the screen(STDOUT). It already comes pre-installed on Linux distributions. If it isn’t installed in the rare cases, refer to this for installation You should … Read more

History Command Examples

Before we look at History Command Examples. Let’s brief about it. The history command is used to check the history of the commands which are executed previously. Many people also prefer it to call bash history. The history of the file is basically stored in the /home/user/.bash_history. However, you can check the location of the … Read more