Skip to main content
Two step google authentication is great.

Today i has setup two step google authentication for gmail(though i'm very late to use that).

After that when i started my mail client, it said the passwod is incorrect. For a fraction,  i could not realise what could be the issue and then i figured the application registration needs to be done. It's very simple and i have tried to explain it nicely.

Options we can configure:
  • Add a phone no and also can add a backup contact no.
Configuring you applications i.e mail clients as they fail when you enter the password,

Access the url:

Go to this url as you are logged in, it redirects to gmail account settings page.

Click security and and find the option Authorizing applications and sites. Click on Edit, and it asks for password. Once you enter the password it redirects to a screen which displays all the registered services.

Enter the name of the application, like Gmail for lappy.

Once you click on generate password, copy that password and enter that in the mail client password box.
It just needs to be entered once.


Popular posts from this blog

upload images to AWS::S3 in ruby using aws sdk gem

Using gem aws-sdk for a ROR application for uploading images to s3
Uploading images to a fixed bucket with different folders for each object or application. The s3 keeps a limitation on the number of buckets creation whereas there is no limitation for content inside a bucket. This code will upload image for a user to s3 using aws-sdk gem. The bucket and the image uploaded are made public, so that the images uploaded are directly accessible. The input is takes is the image complete path where it is present, folder in which it should be uploaded and user_id for whom it should be uploaded. def save_screenshot_to_s3(image_location, folder_name,user_id) service = => ACCESS_KEY_ID, :secret_access_key => SECRET_ACCESS_KEY) bucket_name = "app-images" if(service.buckets.include?(bucket_name)) bucket = service.buckets[bucket_name] else bucket = service.buckets.create(bucket_name) …

Fresh server start after instance degraded

So the issue was, amazon issued an warning regarding the server to be terminated, before i could think of making an backup the instance stopped.

The troubleshoot operations like reboot, stop and start didn't worked.
Simple Steps to start a fresh instance with the previous content on server.