Posts

Showing posts from April, 2021

Gitlab repositories and ssh keys Pt 1

We have been using https authentication for a while in my current organization for accessing git. As the number of repositories I have been working on increased, I found it difficult to do this manually. So I decided to use ssh keys to access my forks of the actual repositories. So my access model is like below. 1. I add a SSH key for my office desktop in gitlab. 2. Then I modify settings in all my forks to add and enable the ssh key for access. 3. Then I create a folder where I'll keep all this code. Then I clone everything to this folder.  4. And lastly I use a small shell script to run git pull so that I can update these with one command and no pesky passwords. From security perspective though, I have to ensure my desktop is not stolen and my keys are secure. Lets see the steps in detail in next parts.

Opening a NPS account

NPS stands for National Pension System. It's a new better-returns with more-investment system provided by the govt of India for primarily private / unorganized sector employees. You can simply search for "why should I invest in NPS" in google and get any results like https://www.etmoney.com/blog/6-benefits-for-investing-in-nps/ . Basically if you have extra money and think of future retirement planning, then better to invest a portion of it in NPS. One big advantage is upto 50000INR is tax-deductible. And if you are like me whose some income is eligible for 30% income tax, this 50000INR deduction can save about 15.5K which is not a small amount. From last couple of years the NPS enrollment procedure is fully digital and if you have a working Aadhar authentication with either OTP or virtual aadhar, this process becomes very easy. I tried to enroll last year, but there were some glitches in authentication and it did not work out. This year in March 21, when I was looking at