Tag: password

SSH Keys – Password less authentication

I was trying to setup SSH Keys between two different flavors of Linux Host by following this Howto

I did run commands exactly as per mentioned in the how to; but it didn’t work. Error message as under

vin@CLIENT:~$ ssh vsa@192.0.0.10
vin@192.0.0.10’s password:
Last login: Mon May 22 10:45:03 2017 from 192.0.0.10
-bash: id: command not found
-bash: id: command not found
-bash: id: command not found
-bash: tty: command not found
-bash: uname: command not found

After googling and trail and error method finally found a fix.

Instead of Step 3 as per the above How to, use the below commands.

  1. Ensure on the server proper permissions set on the .ssh folder if not set permissions as

$chmod -R 775 .ssh (.ssh is located in user home directory e.g: /home/vin)

  1. Run this command to copy the Key file from client to server

$cat ~/.ssh/id_rsa.pub | ssh vin@192.0.0.10 ‘umask 0077; /bin/mkdir -p .ssh; /bin/cat >> .ssh/authorized_keys && echo “Done!”‘

After running above command, server 192.0.0.10 do not ask for password when user vin try to login.

vin@CLIENT:~$ ssh vin@192.0.0.10
Last login: Mon May 22 11:54:29 2017 from 192.0.0.10
[vin@SERVER ~]$

KeePass – password manager

Password manager is a must have tool for an admin who end up logging to multiple windows logons, support portals, customer network, VPNs, FTP, his/her bank accounts etc…

So whats the big deal we can put all our passwords in an excel, notepad or doc. This would still work but it is one of the worst practices which must be avoided by us. Instead of getting in to insecurity hazards, switch to KeePass – one of the best password managers which I’ve used so far. Please check out the features like DB, encryption, algorithms mentioned in the website. This small yet powerful tool has become quintessential for me to maintain both professional and personal passwords.

The best thing of KeePass is its free and open source code. Switch to KeePass and keep your passwords safe and secure. BTW sneak peak at the awards / ratings given to this tool. Truly mind blowing…

In Indian terms its a Godrej Nav-taal standard lock which can’t be picked 🙂

Browser’s cache: bane or boon

I recently went to a browsing center to take some prints where the docs were in my gmail account. I opened one of the best and latest version of a web browser to login to gmail. When I opened the page and typed first character of my account; there was already an user ID of the previous user starting with the same letter of my ID.

Problem was that he mistakenly typed user name and password on the user field [Power of tab key in security!!]. I literally hacked his account with the above MAGIC 🙂

Like a wise man 😛 I cleared the browser cache CTRL+SHIFT+DEL [and selected the option ” From the beginning…”]. I did report this to internet cafe guy and suggested him to use freely available tools like “icafe manager” etc.. to cleanup stuff as soon as user log out.

To my blog readers: Please be very careful with your credentials. Information is costlier than Gold and identity theft is a serious issue these days…