The process of accessing the INTERNAL server through a public server or local system is known as SSH TUNNELLING: REMOTE FORWARDING

These are some configurations that need to be changed on both the server and client-side.

On Server Side ( Internal VM ):

Change these variables in this file : FILE=/etc/ssh/sshd_config

AllowTcpForwarding remote

GatewayPorts yes

2. Save it and run this command to restart your ssh service.

sudo systemctl restart ssh

3. RUN this command to create a ssh tunnel.

nohup ssh -nNv -R 8002:localhost:22 &

Command breakup :

nohup, & : to run this process in background


For applications that runs inside of an intranet, a self-signed web certificate is not enough since it cannot be validated by against any CA (Certification Authority). For this we need to create our own root CA, installing it in each pc, and sign the web certificate with it.

Let’s see how can we achieve this:

Creating the Root CA:

Step 1. Create a root key:

Step 2. Create and self sign a root certificate:

Now,Install the root certificate in each of the…

Some ports generate an error (ERR_UNSAFE_PORT) when browsing to them via Chrome (see this related question).

if you are getting the above mentioned error in your application/services, then try changing the port.

These are the list of restricted ports on chrome.

In this blog, we will learn about how to setup a docker private registry and setup authentication as well through docker.

Run this Dockerfile to create your registry image and run it.

Command to build & run the registry image:

Api’s to query the Docker images stored in the registry.

List all repositories (effectively images):

List all tags for a repository:

Expand the volume within the OS using diskpart utility

When you have expanded the disk for the VM, you need to go into the OS and expand the volume to encompass the new space. There are several methods for expanding a partition. This section covers connecting the VM using an RDP connection to expand the partition using DiskPart.

  1. Open an RDP connection to your VM.
  2. Open a command prompt and type diskpart.
  3. At the DISKPART prompt, type list volume. Make note of the volume you want to extend.
  4. At the DISKPART prompt, type select volume <volumenumber>. This selects the volume volumenumber that you want to extend into contiguous, empty space on the same disk. Ex: select volume 1
  5. At the DISKPART prompt, type extend [size=<size>]. This extends the selected volume by size in megabytes (MB).Ex: extend size=125000

What is Linux?

Linux is an open source and most used operating system created in 1991 by Linus Torvalds. It is widely used in the software industry for developing and maintaining highly robust application. It offers security, privacy, task automation, system updates and it is developer friendly in nature. It has pre installed tools and binaries that helps in the various phases of SDLC.

The benefits of using Linux

It offers a free operating system. You do not have to spend hundreds of dollars to get the OS like Windows!

  • Being open-source, anyone with programming knowledge can modify it.
  • The Linux operating systems now offer millions of programs/applications…

These are steps to change your http routes to https.

Step1. Go to this url and download the zip installer from here ( nginx: download ) and unzip it.

Step 2. Generate the certificate for your machine. Take reference from here.

Step 3. Copy your certsin your windows machine, if created from another machine and paste it on the nginx folder (root location).

Step 4. Update your ~/nginx/conf/nginx.conf file with this one. Replace localhost with your dns name and proxy_pass url with your local base url on which your application is working.

This post will describe an easy way to manage your Azure storage data through a simple tool that is available in Linux, MAC os, and Windows.

You can download the one according to your operating system through this URL.

After successful download, click to install

For Windows,

Accept the terms and click Install:

Click Next:

Most people often find it difficult to set up docker and configure it when running behind any proxy server, if you’re trying to run Docker without having direct access to the web you have to configure the docker daemon to use a proxy server. Without it, you won’t be able to pull or push any image.

The image above is for windows docker proxy settings and you will have the same settings with the Linux servers as well, with the steps mentioned below.

I see a lot of tutorials on the internet describing how to apply the proxy in the…

You will get to see a lot like this error while working with docker and the VM/Servers that are running behind some proxy or managed by your organization.

Assuming you have the certificate issued by your IT team.

The following steps will help you get rid of this problem :

  1. Convert to .crt openssl x509 -inform DER -in certificate.cer -out certificate.crt
  2. Make extra directory sudo mkdir /usr/share/ca-certificates/extra
  3. Copy certificates over sudo cp certificate.crt /usr/share/ca-certificates/extra/certificate.crt
  4. sudo update-ca-certificates
  5. If not, then you have to do what I did, go to sudo nano /etc/ca-certificates.conf
  6. Scroll down and find your .cer and remove the…

Dheeraj kumar

A DevOps who is passionate about Autom@tion.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store