Showing posts with label password. Show all posts
Showing posts with label password. Show all posts

Friday, 2 December 2016

Password less authentication in linux

Source : host A
Destination: host B


1. Run the below command for generating public and private key( host A)

ssh-keygen -t rsa

/home/username/id_rsa (private key)
/home/username/id_rsa.pub (public key)

2. ssh-copy-id -i  /home/username/id_rsa.pub host_B_ip_address



Alternate way:

* Copy the text inside id_rsa.pub file .

* Login into host B and go to /root/username/

and create new file "authorized_keys" and paste text copied from step 2.

*  Login into Host A to Host B password less.(ssh host B)


Simple:

Put public key(host A) to authorized_keys(host B)

Now Host A can login into host B without any password.



Wednesday, 7 October 2015

How to see password in password textbox

How to see password in password Textbox

When we type password in any password box it's get encrypted and you will see only ****.
 It is very easy just change the text Input type from password to text.

1. Right click on password text box and go to Inspect element.


2. At below(sometimes right) you will see Inspect tab. <input> Search for type="passoword" .



3. Change input type from type="passoword" to type="text" ..


4. Press Enter key.