Tuesday, October 13, 2015

Enabling Password-Less SSH login in 4 simple steps

First of all install SSH server and agent respectively

STEP 1 :

Generate a authentication keys for User A:
ssh-keygen -t rsa
STEP 2:

  • Change the permissions of .ssh to 700
chmod 700 /home/user/.ssh
  • Change the permissions of .ssh/authorized_keys to 600
chmod 600 /home/user/.ssh/authorized_keys

STEP 3:

Copy  User A's key to User B's :

ssh-copy-id  userb@192.168.1.1

This will ask for password of User B. When you have entered correct password the key will be copied to User B's /home/.ssh/authorized_keys directory.

STEP 4:

Trying logging

ssh userb@192.168.1.1

It will allow password less login.

  • If there are any problems make sure to check permission of the directories. most of the time people have problem with permissions only.
  • Make sure the ssh server is working if shows error stating unable to connect



Sunday, October 4, 2015

50 Most Amazing Tech Tricks You can’t Find on Internet

Well while surfing on internet I came across a very interesting article which shows some amazing cool tricks one can perform with the help of simple apps and sites.


There are some cool stuff one can find like a website you can use to corrupt you files intentionally, delete your online social website and also tricks such as access all your control panel shortcuts from one place or folder. 


I'm sure you'll find one or more useful tricks you would use in your daily life.
To read the whole article please to go this website.

http://www.prophethacker.com/2015/07/useful-tech-hacks-tricks.html