General

Anything related to technology.

How to set up Remote SSH to any machine behind the firewall

In this post, the method to remote SSH into a Linux machine is covered. This is especially helpful when you do not wish to open any Port open in your ISP-provided Router configuration. Using this method, you can SSH into your home machine from any computer on the internet. You would not need any fancy …

How to set up Remote SSH to any machine behind the firewall Read More »

Curl not working when executed by a particular user

In one of my Linux node, I was not able to use curl command if executed by a particular user(“root”). Strange enough, it was working when executed using some other user. If you face similar issue try to follow the following strategy to debug the issue: When executed with non-root User: curl google.com -I HTTP/1.1 …

Curl not working when executed by a particular user Read More »

How to check the IP address reputation programmatically

Countless predators are sitting in the wild to spam or attack the network. So sometimes, before trusting a random IP address on the Internet, it’s a good idea to check its reputation. There are multiple methods to check the details and reputation of an IP address, but here we are covering only one via “www.abuseipdb.com.” …

How to check the IP address reputation programmatically Read More »

Find the installed Hardware info in Ubuntu

Like listing the directories and files using the “ls” command, we can list hardware in the system using the “lshw” command. Various filters are available to filter the result of the “lshw” command based on the type of hardware, like disk, processor, etc. Please see the below examples and follow along. Note that to use …

Find the installed Hardware info in Ubuntu Read More »

How to create Virtual machines using cloud-init

Want to create virtual machines frequently? Consider using “cloud-init.” Before going into the usage of cloud-init, let’s understand what cloud-init is and why we need it. Cloud-init allows users to write down their desired configurations into a YAML file before creating the VM. During the creation of the VM, the YAML configuration file will be …

How to create Virtual machines using cloud-init Read More »

Creating multiple Virtual Machines Fast using multipass

Here in this post, we will discuss a lesser-known way of creating a virtual machine. This post is beneficial for folks who prefer to create Virtual machines(VM) frequently. Until a few months back, I created virtual machines on my windows laptop using the virtual box(a great tool). However, creating virtual machines using virtual boxes was …

Creating multiple Virtual Machines Fast using multipass Read More »

Scroll to Top