5 Useful Examples of Kubeconfig with kubectl config Command

we can use kubeconfig configuration file to store information about different clusters, users, namespaces, and authentication mechanisms. A context element in a kubeconfig file is used to group access parameters under a convenient name. Each context has three parameters: cluster, namespace, and user. By default, the kubectl command-line tool uses parameters from the current context […]

3 Ways to Check SSL Connection error

SSL Connection error is the most common error between client and server. SSL Connection error tells us that we are unable to make a secure connection with the server. That’s to some extent it tells us what the issue is, but what makes it more difficult is that users don’t have an idea what exactly […]

5 Ways to Fix SSL_ERROR_SYSCALL

This article covers how to fix SSL_ERROR_SYSCALL error in 5 ways. $ git clone https://github.com/xxx/xxx.git fatal: unable to access ‘https://github.com/xxx/xxx.git/’: LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 Restart the computer As we all know, restarting solves 90% of problems, and sometimes restarting the computer can directly solve the problem. Modify Git network configuration For Git’s […]

3 Ways to fix SSH Too many authentication failures

This article will cover how to fix Too many authentication failures for usernames in 3 ways. Too many authentication failures Error Error example 1: Received disconnect from 192.168.3.123 port 22:2: Too many authentication failures Disconnected from 192.168.3.123 port 22 Error Example 2: Too many authentication failures Sep 19 16:21:24 ubuntu sshd[192635]: error: maximum authentication attempts […]

4 Ways to check Linux Version

The OS version of a Linux distribution can be determined by using the command-line interface as well as a graphical user interface. In Linux, CLI is preferred over GUI as it provides more control over the OS. In this article, we will mostly focus on the command line methods which can be used to check […]

3 Ways to check Too Many Open Files Error

When the “Too Many Open Files” error message is written to the logs, it indicates that all available file handles for the process have been used (this includes sockets as well). In a majority of cases, this is the result of file handles being leaked by some part of the application. ulimit is a command […]

3 Ways to fix remote host identification has changed

Whenever we connect to a server via SSH, that server’s public key is stored in our home directory. The file is called known_hosts. When we reconnect to the same server, the SSH connection will verify the current public key matches the one we have saved in our known_hosts file. If the server’s key has changed […]

10 Linux tcpdump examples

In this tutorial, we will learn 10 useful Linux tcpdump examples and tcpdump options to analyze the traffic flow on a Linux machine. This tutorial covers the basic tcpdump filters like source ip, host, interface, specific port, udp port, write to file, all interfaces etc. Capture traffic on specific interface ( -i) Capture ip or […]

7 Ansible Copy Module Examples to Copy File to Remote Server

Ansible copy module is used to copy the file from the ansible machine to the remote server. With the ansible copy module, we can do various things let us see what we can do with the ansible copy module. In this article, we will see 5 ansible copy modules examples and how to copy the […]

10 Python 3 String Methods Examples with Cheat Sheet

Python offers both string methods (can be used with any str object) and a string module with some useful definitions. Let’s use these test variables:   >>> s = “OH, my paws and whiskers!” >>> t = “I’m late!” In the following examples, the Python shell prints the result of the method call, but the […]