Friday, July 6, 2012

'VISA'va...



Planning on doing an MS right when I was studying BE, maintaining that focus (huh..) for two years inspite of the work freak that I was (my family would explain better...but I would rather not remind them), applying for MS during the last year at work and getting an admit from a good school like Georgia Tech...all seemed perfectly on track...no wonder "expectations" (my bad...) went spiralling...that the road ahead would be smooth....but that would make a boring Bollywood flick right?...so enters the visa reject....the high rises of expectations coming smashing down to the floor.

Then follow two weeks of ultimate turmoil- reapplication, reforming answers and most importantly avalanche negativity, looking at admits passing by you making you wonder - well, I said the same things and yet you won't approve me...visualizing  yourself scrapping all plans and replanning everything back from scratch, identifying the disappointment in your mom's eyes as she tries to hide it.......and enter the saviours...friends, family all with their ideas, suggestions, sometimes unappealing but mostly helpful and boosting spirits...

Cut to the day of the retry...your mind playing games with you showing you two movies in time-multiplexed manner...with approval, w/o approval with auto-repeat involuntarily on. Finally it starts, things go well and your visa is approved...happiness repollinating throughout the brain and then all disappointing memories of the past weeks start to fade away...as if it was hardly anything and happiness was always  in continuum...but that's just the first 5 mins of a bigger movie which is yet to be fully played out...Surprises await you...

Anyways, I would like to take this blog post as an opportunity to thank all the friends who helped me through this, grateful to my family who stood by me, kept pointing out my mistakes time and again and finally Him for giving this overall experience.

Thursday, June 7, 2012

Ganpatipule, Day 3 and the END


In continuation to Day 2...

I remember being inebriated with the Ganpatipule memories on our way back and good that I could pen the first two days the immediate next day when the hangover was still on and so was the sun tan...Like radioactivity, memories are also said to have half lives, I have heard of 8 hours..and I can already feel them discrete and broken. Trying my best to put down both activities and the thoughts on the third day..

To avoid the heavy rush post morning, we decided we would rush to the beach as early as possible. I think we were on the beach by 8 am and we were greeted by atleast a hundred more similar thinkers there. So our early wasn’t so early after all. While I was so ready to plunge into the water, mom and dad were more worried about a safe place for the footwear. Finally finding one, we embraced the water and were lost in it for the next 3 hours or so. At his age, it was a treat to see dad excited about each coming wave (and mind you..there were many mighty ones...). So I had a good companion who could share the excitement. Mom retired to the shallow waters in no time. Talking about the waves, there was a great variety- from the soft ones that just pop you half a metre up and down to the strong ones that hit on your back to the mighty ones that engulf you and throw you nearer to the sands. Those mighty ones, they surely “swept me off my feet” literally... :)  :)  ...When you try to get back on your feet in the shallow waters with a disoriented view, the sand bruises your knees badly and the more time you spend in it, the more the caustic effect of the salt water. As time passed we could sense the increased force of the water pulling us back in as also the water advancing more and more on the beach. In some time, there was a police team on the beach asking everyone to get back out of the water saying “samudra khawalla aahe ( the sea is getting rough)” We were almost done and left without regret. I could see few picking up fights with the police (some ppl just can’t wait to start a fight)...on a trivial issue.. i am sure. With water still blocking my ears and my head feeling like a water balloon, we had breakfast at the “Annapoorna hotel”. Apparently, Annapoorna has a good breakfast service with quick vada, dosa, pohe etc. Being in Konkan and not trying sea food would have angered the sea food gods (whoever they are)....so we tried sea food at Hotel Samir, which is right opposite to our first lodge Morya. 





Then we were off to more spots, first being Kavi Keshavsut memorial. This is a place dedicated to the memory of eminent Marathi poet Krishnaji Keshav Damle popularly known as Kavi Keshavsut. The place is actually the birthplace of Keshavsut so one gets to see his ancestral home filled with antique utensils, tools and instruments. In the vicinity of the house are a lot of plaques that have his poetry printed on them. Mom and dad, having read his compositions in their school time textbooks could connect with the place easily. I could understand only one or two compositions fully, thanks to the uncolloquial language, the elevated thinking of the poet and the figures of speech for poetic effect. There is another room where compositions of all great poets of the era have been put. Luckily, I could identify some of them and finally felt a little bit at home- Kusumagraj, Ga di Madgulkar, Swatantryaveer Savarkar, Shantabai Shelke to name a few. The place is indeed a treat for poetry loving folks. Next, we headed to an aquarium, which though I had no hopes from, was pushed for by mom and dad. A small hall, it did have some common and few exotic fish variety but nothing much impressive, and not worth visiting (so no pics), especially since it did not focus on the regional fish population. And above all, pathetic English translation for describing each variety. So please skip it, unless you have some troublesome kid who gets entertained and calmed down by seeing fish move in a small tank... :| ..

The next and the main attraction for the day was the Jaygad Killa (Jaygad fort), close to 40 km from Ganpatipule. Built during Shivaji’s reign, it is a fort built by the sea. I could gather only some logical importance from the fort, understanding its structure, but nothing of the history of the place, thanks to absence of guides and no history spewing posters. But we were there for quite some time, enjoying the scenery of the place. In the images alongside, you can see the moat around the fort, the observation posts and the windows for positioning canyons.





Next stop was the Jaygad Bandar (Jaygad port). There was a ferry service available that takes you from Jaygad to a place called Tavsaal. While it ferries vehicles too, we planned otherwise since the queue for vehicles was huge so is the extra effort it takes to get a vehicle on and off the ferry. Getting off at Tavsaal, we wandered around the place for some time, having tea at a small local shop..  :) , pretty happy with our decision of not bringing the car along seeing the long queue on this side too. A good capture here was that of a huge mango tree fully laden with fruit. It was an amazing thing to see. From far, you could only make out white dots on a green tree. Only after a second do you realise, it’s a mango tree. Getting back to the port, we had to wait for atleast an hour for the ferry to return. As night falls, the water filled with lights of goods carrier ferries, small boats, construction cranes, one keeps guessing which one is the right ferry, always hopeful. Finally, it arrived, starting the journey after hell lot of chaos fitting vehicles onto it. It is like a mathematical problem. Fit smaller rectangles each of various sizes into a big rectangle in an optimum manner. These people do it every hour of the day on each side. Don't know if they think of mathematics though...




We reached back to the lodge after a pretty confusing drive, going in the wrong direction for almost 2-3 km before returning to the right one. The thing about night driving is, what seems pretty obvious and easy during the day seems to confuse routes at night, especially in a place where there are no street lights and no homes in sight. A light veg dinner ended the day. Next morning, we paid another visit to the Ganpatipule temple, helluva rush being a Sunday. 11 am, we were on our way back to Mumbai. I had known all along that it would be a difficult drive, being a continuous 10 hour journey, unlike our arriving trip where we took a night stop at Mangaon. The fatigue was tremendous. I was wrestling in my seat, my knee hurting from pressing the clutch over and over again thanks to the villages that keep coming on the highway and then the city traffic. A cramp in the neck since the day before, made things even worse, making it difficult to check vehicles zooming past. I heaved a sigh of relief as we reached home and I landed on my bed...dreaming about Ganpatipule and the unexplained.


Let me put together the acknowledgements and few lessons that I gathered:

  1. I am thankful to mom and dad that they could accompany me and I thank god for having such sporty parents (at their age) who gave in to my wishes. The friend drain (and brain drain) to US has made holidays and weekends torturous for the last three years. Hopefully, I should get drained too in some time..though not sure about the brain part.. :P
  2. Ganpatipule, for an amateur driver of 6 years, is a 9-10 hour journey, if you want to reach there and safely.. :). So if you plan to reach the same day, the best time to leave would be very early mornings (3-4 am). That way, you escape the city traffic, you get to experience lesser heat, you can safely take breaks in between without worrying about the time and most importantly you can enjoy the journey.
  3. You need to be extremely careful about the driving. Please excuse me, pro drivers. Sometimes driving on a highway, especially at night, becomes mechanical and the flashing headlights tend to hypnotise. NH-17 is a monster with a single lane for each direction. Hopefully, the road-widening work on NH-17 should complete quickly and make driving safer.
  4. You definitely need to slow down in villages. But additionally, elsewhere, you should also be on the lookout for animals - cattle, monkeys, dogs and unintelligent humans crossing the road out of nowhere. A single sudden brake on NH-17 can turn into an exciting contraption for Yamdev!!
  5. Please ensure that in no way are you disturbing the sanctity of a holy place by any means. One may be a non-believer or a forward thinking person, but it is equally un-forward to mock other’s beliefs.
  6. A final plea for all people who love Ganpatipule, Konkan or for that matter any tourist place. These places are meant for everyone, for generations to come. If you are done seeing them, you should make sure that you maintain these places clean for other people to come, by not littering the place, using the garbage cans, disciplining your kids, if any, to do the same. Do not think, “It’s just a small wrapper...”. A small wrapper can be a trigger for many others to make a dump out of a clean place.


I think, that’s enough... Do visit Konkan, keep posting and I would love feedback, if you have read this monster of a post....

PS: Please ignore the timestamps on the photos. They are off by an hour or more. I have set it right now, on the camera.

Monday, June 4, 2012

Ganpatipule, Day 2


Sequel to Day 1...





By Day 2 (1st June), we had decided that we need to extend the stay one day more to 3rd June and it wasn't an issue since it was a Sunday. As is always the case, a visit to any region in case of our family starts with the major temple in the area. I have no issues with that. In fact, I love it. I love to take in the piety of the place, learning about the history of the temple, the beliefs and trying to remember and link them with whatever little I already know. So the first spot for the day was the Ganpatipule temple, a temple devoted to Lord Ganesh as the name suggests. We also checked out of our first lodge and shifted to Durvankur. Luckily, Durvankur is at a walking distance from the temple and the beach. Before I miss it, I need to mention an ingenious method of drying clothes that I found at Morya lodge, which I had only heard of but never seen. Check the images and you will find out. No more neck straining for pushing clothes onto the drying rods....




The temple, the Ganpatipule beach and the MTDC resort are juxtaposed to one another. With the sea touching the temple, the scenery is awesome, but the popular beach also makes it kind of messy I feel. The sanctity of the place is diluted to some extent thanks to the beach-going public. The temple does the job of mentioning that devotees should try and wear traditional clothes such that it does not become a distraction for others. However, it is not just the clothes, it is the overall atmosphere. Add to that few groups of people who feel it is just another spot and try to "cover" the beach and the temple at the same time and that makes it all the more weird. Instead, imagine a temple that is separated from public places and touching the sea and you will probably agree with me. To some extent, Harihareshwar was inline with this environment and it was indeed pleasurable. About the MTDC resort, I have read good reviews about it. I even called the resort before leaving Mumbai and found that since May-June is a "tourist season", the booking has to be done atleast a week in advance and it can also be done online.


So going back to where I was, we reached the temple in the morning. There was hardly any queue being a weekday. On our way to the sanctum sanctorum (gabhara), we read and heard about the history of the place. It can be read in the image (click to see enlarged image). The temple is built on a hill. The gabhara houses only the chest and the stomach of Lord Ganesh, the  trunk is at a different place on the hill. In short the whole of the mountain is a representation of the Lord and so the pradakshina around the temple is a walk around the whole hill. The pradakshina is 1 km long (approx. 15 min). The place can get confusing for one who is not curious. The pradakshina starts near the main entrance of the temple and ends near the actual temple building. 








Though there are painted messages saying "Pradakshinecha Marg", you will find ignorant beach-going people or others loitering along the way with their footwear on. It can get irritating sometimes, but that's the way it was supposed to be. Post 10 am, walking on the pradakshina path can be quite terrifying, considering the laterite stone. Not only does it become super hot, but is also irregular in shape with peaks that can give you acupressure, acupuncture and terror all at the same time.. :| .....The prasad (generally ladoos) was not available for distribution due to heavy rush and this continued over the weekend when we paid another visit to the temple before we started our return journey. Bought a bag of karvand fruit and finished it in no time.. :)... Had some quick food at Shivanandan and we were on our way to Pavas. 

Pavas is approx. 40 km away from Ganpatipule and is popular for the place of samadhi of Swami Swarupananda. It was a calm place and it is more rewarding for people who are interested in spirituality, who are aware of his teachings. Amongst us, only dad had some idea about it while me and mom paid our respects by being quiet. We also had the privilege to find Parmarth Niketan, which is a centre that follows Parampujya Kalavati Aai. Such centres are wide spread across Mumbai and Belgaum. We attended a quick bhajan and were on our way out to return back.  




The way to Pavas and back was quite beautiful, running alongside the coastline, passing by beaches of Vaare, Aare, Bhatye and few others, each view picturesque. For me, as the saying goes, the journey was more pleasurable than the destination... :) .. Also, we enjoyed another shot of Kokam sherbet at a stall between Aare and Vaare beaches. The stall owner was a good person and also helped us with directions. It was an obvious stop on our way back too. But we tried Bhel this time. What's better than slowly eating away bhel while looking at the sun set into the sea at a distance...We also made a quick stop at Aare beach before that. The soil here was quite loose. One step would sink your feet 3 inches into it. The water looked quite clear though. Ganpatipule beach was the plan for the next morning...that and more in the next post...


Ganpatipule, Pre and In situ Day 1


This is going to be a huge post, probably divided into multiple parts, partly because of my pre-knowledge that I would write about it, partly because of the supporting photos and of course the non-viscous nature of my thoughts.

So mom says she is taking a "sick leave" from 30th May to 1st June. I pounced upon this opportunity and made her agree that we are going to Ganpatipule from 30th May to 2nd June. It was almost a month since I had first mentioned it always to be dismissed due to her non-availability. It took breakfast on 30th May to convince both mom and dad on a common plan. I was off to research. Reading online about Ganpatipule told me it is a 357km distance and should take 6 hours to reach there. I tried calling one of the resorts to book our stay there and the lady on the other side says, "No, you will not be able to reach here today. It will take you a minimum of 10 hours driving." It was 2 pm on 30th May when this happened  and my spirits were half dampened. Mom already started suggesting her best solution," No problem, we will start tomorrow morning." I do not know what gave me the stubbornness, but I was hell bent on leaving that very day, come what may. We finally agreed that we would take a halt midway for the night and continue the next day. So, off we were at 4pm, me in the driver's seat..after all..long drives have always been a passion...



A tea halt (unavoidable..:P) at Kamats hotel near Karnala and we were already seeing the wisdom of the lady whom I talked to. We were unable to go more than an avg. 35-40 km/hr (peaks of 90 max.) due to traffic conditions and night was going to be even scarier. So while we continued, we started finalising on a mid way halt location..deciding on Chiplun since it is pretty much a town in that area and it would be easy to get a place to stay. The night drive was very scary especially because it was NH-17 (also known as Bombay Goa highway..has just one lane per direction without a road divider ..one overconfident and misjudged overtake...and you will be history..only to be remembered as an idiot to have tried overtaking on NH-17). While adrenaline rushed as I sped my way, the responsibility of the safety of the whole "crew" kept me calm. Luckily I was aware of the perils of this route thanks to few experiences during our visit to Diveagar and Harihareshwar (haven't blogged about it) in Jan 2011 ( I was the lucky driver then too..:)..). As the clock ticked 9 pm, we were still far from Chiplun and had to take a stop. Dad suggested stopping at Mangaon which he knew was a place popular for the spiritual guru Tembe swami who used to be a resident of this place. So we stopped at a lodge called "Madhu Shanti lodge" in Mangaon. We would have been doomed had we not found this place. All other lodges in this area were "unfit" for any middle class "family". It turned out to be a costly affair, paying for the whole day while staying just for the night. But most hotels that we encountered had fixed check-in and check-out times. So if you reach at non standard times, you lose. 
                                         
                                                       
   


The next day starts with news of the Nation wide BANDH. I was ignorant about it while mom had forgotten (good for me) about it. We had planned on checking out at 7am from the hotel. While dad was a bit neutral (as always) and I was near successful in convincing him to start out, mom made it pretty clear that she will not move out until the bandh subsides while also convincing dad with her "what can happen" stories. Add to that the news channels beaming stories about bus windows being smashed in Pune, traffic services disturbed in Delhi and blah blah. Frankly she almost got me convinced for some time that we should not leave, my stubbornness getting me back to my senses. During our stay there, we tried to find out about a popular temple that is associated with Tembe swami only to find out that this was a different Mangaon. The Mangaon known for Vasudevanand Saraswati or Tembe swami was near Sawantwadi, a long way from there. But anyways, thanks to him, we landed in a safe place. :)...After three hours of debate, I got mom and dad convinced to adopt a "slow and steady" strategy. We were out again at 11 am (damn!!) heading towards Ganpatipule. There was not a sign of bandh anywhere on the road. Everything looked pretty smooth, but you cannot be sure. On the way, we found some cashew trees and mom collected a few cashew fruits from under them, desperately searching for more and more. We reached Ganpatipule safely at 2:30 pm, the trip distance from home to Ganpatipule measuring almost 360 km (pretty close..). 



We checked into the first lodge (Shri Morya Lodge) that we found inhabitable without any recce of the area. We were pretty tired thanks to the undying heat and the weak AC that Alto offers. Mom agreed that it was a good decision to start from Mangaon (one victory). She also agreed that had we waited for another day in Mumbai and tried to start on 31st May, we would have stayed home another day thinking about the bandh(second victory..:)..). "Shri Ganesh Krupa" is a good hotel just behind Morya lodge. Loved the food there, though it's only Pure Veg. We did not have the strength to frolick in the hot waters of the Arabian Sea at 4 o clock in the evening. So we thought we will do some sightseeing instead. So enter Prachin Konkan. It is a place where they have tried to put forth the image of a typical konkan village and its members including the khot (the village head), the kumbhar (potter), the nabhi (barber) etc., the tools, instruments they use, and how the village functions as a whole. It has also maintained a collection of fruit-bearing / flower-bearing  trees and spices popular in the Konkan region. Relished the first Kokam sarbat for the day there and enjoyed it thoroughly.The concept of Prachin Konkan is good, but the guide, especially the one that we got, was pathetic as she went on and on with her content without the full stops and the commas. You had to listen carefully to make sense out of it.  

                                              



Out from there, mom and dad suggested a rent-check of the nearby lodges. With a balance between quality, availability and pricing, we found that Durvankur lodge would be a better fit for us since it was cheaper than Morya and the place felt better with similar services. Happy to have found a good place, we returned home planning about the next day while also relishing another Kokam drink, this time, Kokam soda at Shivnandan hotel which is in the same premises (probably also owned by the same family) as Durvankur. The sour taste of Kokam mixed with an effervescent and cold soda is a nice and refreshing experience. Thus on a bubbly note ended a very eventful day one in Ganpatipule...  

Tuesday, May 15, 2012

SSH....(Part 2)

I regretted mentioning that I would get back with the key authentication in my previous SSH post since it did not look like I was getting to it. But thanks to the whim that I carry around..here it is..spent half a day today playing around with SSH key authentication. You may want to go over Part 1 in case you haven't...before proceeding.

In Part 1, I tried my hand at setting up an SSH connection based on basic fingerprint and then password authentication. Today spent half a day playing with SSH to try the public-key cryptography feature which is basically meant to erase the need to enter a password that has a lot of chances of being snooped.

Machines involved: 
1. HP Pavilion dv6000 laptop (L1) (with Windows Vista :-(   running and putty installed)
2. HP Pavilion desktop (D1) (Pentium 4!! really old..but good for playing such stuff): Installed the latest Ubuntu 12.04 LTS (codenamed Precise Pangolin) on it last week
3. An assembled Pentium dual core desktop (D2) ( running Ubuntu 11.10)
In my case, I have taken D1 to be my server, while L1 and D2 are client machines.

Brief:
To brief about the key cryptography,  the client machine that wants to access the server runs a key pair generator (like PUTTYgen in Windows or ssh-keygen command in Ubuntu Linux). This generates a pair of keys, a public key that the client shares with the server machine and is stored in a specific location on the server and the private key that is stored on the client itself. Whatever communication takes place between the two, is encoded in terms of these keys and can be decoded only if one has the other key. Various types of keys supported include DSA and RSA.

Generating keys:
Windows: 
On Windows (L1), I used the PUTTYgen to generate the key pair. I had selected the SSH-2 RSA (default) option and 2048 bit length (the more.. the harder to crack). Click on "Generate" to start the process. To bring in randomness to the number generation, it is good to give some random cursor movement as the app asks for. Once generated, save both the public key(no specific extension) and private key(.ppk).

Linux: 
In Ubuntu, the SSH client comes pre-installed. The "ssh-keygen" command is used

amit@Hp-desktop-ubuntu-11:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/amit/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/amit/.ssh/id_rsa.
Your public key has been saved in /home/amit/.ssh/id_rsa.pub.
The key fingerprint is:
22:7b:9d:0e:62:a9:ec:3c:29:2c:1d:15:e0:d0:1e:b6 amit@Hp-desktop-ubuntu-11
The key's randomart image is:
+--[ RSA 2048]----+
|....             |
| o+ .            |
| o.o .           |
|  E .            |
|   .. . S        |
|  .  + o .       |
|.. o= o o        |
|o++o o o         |
|.o=.    .        |
+-----------------+

Sending the public key to the server:
The public key needs to be stored in the file "authorized_keys" at the location 

/home/[username]/.ssh/authorized_keys

Linux: 
One has to run the command ssh-copy-id  on the client (D2) as shown below:


amit@Hp-desktop-ubuntu-11:~$ ssh-copy-id amit@192.168.2.5


where 192.168.2.5 is the IP address of the server and "amit" is the user account that I would log into when connected. You will be prompted for the password of the user account on the server. Once that is provided, the file gets saved at the appropriate location on the server.


Windows: 
In Windows, you can run the PSFTP application to transfer a file. Once transferred to the right location, ensure that the file is named as "authorized_keys" as is the requirement. Ideally this should have sufficed. But there is a complication here that took me some time and googling to realise. The text formatting that PUTTY provides for the public key is not directly compatible with OpenSSH format. An example:

PUTTY o/p:
---- BEGIN SSH2 PUBLIC KEY ----
Comment: "rsa-key-20120514"
AAAAB3NzaC1yc2EAAAABJQAAAQEAx0O0uS31JUq4syTjV1Sufl3SNVfrV1dmPh8N
ZA6WSaAufBldoOwDTMutDZ1xcWwKkvK6xfbv6t9SX+BZOSRCpxrd6NPbPUZZxNra
94hKaO7depgn2OwCAsiMkYtbbta+k1q7rDu1Ri4mrfeFyl4dbnpphTnjF3quWMOF
zs7biu7YrBjgkYzGqbRdiFS4yH3Y03rFi4ZXPeioxfwaoka2enliKYmdeHDc0K8z
A0XBbnFrNYKKqPS7GIhGvwHJfEKt7IlxXhyL4/3prWfPd25Nd2uBmcGI3BCClTl2
ME+8UIsNtNEv7GshCj5o/VnlaOWxRyBeotp03H0i6gd/LIeXJw==
---- END SSH2 PUBLIC KEY ----

Key format expected by OpenSSH:
ssh-rsa(single space)AAAAB3NzaC1yc2EAAAABJQAAAQEAx0O0uS31JUq4syTjV1Sufl3SNVfrV1dmPh8NZA6WSaAufBldoOwDTMutDZ1xcWwKkvK6xfbv6t9SX+BZOSRCpxrd6NPbPUZZxNra94hKaO7depgn2OwCAsiMkYtbbta+k1q7rDu1Ri4mrfeFyl4dbnpphTnjF3quWMOFzs7biu7YrBjgkYzGqbRdiFS4yH3Y03rFi4ZXPeioxfwaoka2enliKYmdeHDc0K8zA0XBbnFrNYKKqPS7GIhGvwHJfEKt7IlxXhyL4/3prWfPd25Nd2uBmcGI3BCClTl2ME+8UIsNtNEv7GshCj5o/VnlaOWxRyBeotp03H0i6gd/LIeXJw==(single space)amit@HP-LAPTOP

The expected key should start with the string "ssh-rsa" followed by a single space then the actual key with no spaces after any character, a single space again in the end followed by an optional mention of the name of the user account that will be logged in as the client.

I spent quite some time debugging this. I kept getting the error "Server refused our key" and then prompting for a password which is what we do not want. One has to be very sure there are no extra characters like spaces, new lines etc. within the key due to the formatting that windows adds to the files. That was the issue in my case as also faced by another user:

Thanks to him, it was easy to debug...

Finally, firing an SSH session from client:
Windows: 
This is the last step where you get to know if everything is correct or not. In Windows, open PUTTY application. You can configure a session and save it with the right IP address and user account on the server eg. amit@192.168.2.5. Under the menu for Category, go to Connection > SSH > Auth. Give the path of the private key file (.ppk) that was stored earlier. Once the connection is opened, if everything goes well, you should be greeted by the command prompt of the server machine. Else, you would be prompted for the account password since the key based authentication did not work out well.

Linux:
Run the command "ssh [IP address] -l [username]" and you should get the same result as mentioned above. For user "pradeep", the output would look as follows:




If you do mention a passphrase when generating the keypairs you will be prompted at this point for the same before logging you in. Else the log in will be unobstructed. 

Now if you have more users logging to the same account on the server, the public keys get appended in the authorized_keys file. I think a linux client is much much easier to use since you avoid the incompatibility and manual editing of the key file and every client that does a "ssh-copy-id" automatically appends the keys in the file. No extra effort or editing needed... 


Thats all folks!! (reminds me of looney tunes..  :-)  )

By the way learnt one more thing in this process. People using Ubuntu might know that the first user they create automatically gets into the sudoers list, but every other user account is just a general user account with no sudo privileges. So if one wants to add a user to  a sudoers group, first "su" to the sudo-capable account and run the command

sudo  usermod -a -G sudo [username]

Try to log out and log into the specific user account which needs the rights. The "-a" flag is important since it tells that this group is to be appended to the already existing groups to which the user belongs to.

Also do check out the wikipedia page for more theory on this topic...

Wednesday, May 9, 2012

Grate expectations!!


Is it possible not to expect? Is it humanly possible for anyone to do that perpetually? The inertia of this stupid mind does not let me go off many thoughts that have been bugging my mind since some time now. Disappointments at college, at work, at home and everywhere else when looked closely seem to have a different reason each time, but when looked through the reverse telescopic view ( a figment of my imagination..dont bother..in case you do..there's a post about it too...though I know you won't..but just in case..), everything seems to have their roots at "expectations". The property to visualise getting something in return the moment an idea strikes your mind. It is not the fault of the idea. The idea is a harmless, dimensionless (forgive me, physicists..not talking science here) seed that is planted either by external factors or your own subconsciousness. But you do not want to nurture the idea just like that. You start with, "What's in it for me?" and when you get a valid answer like fame, money, love, attention blah blah and you agree to water the seed. This very "me" makes that idea important to you and it grows and grows and you can't leave it. In fact, it is so ingrained that it gives you a high of "feel good" when good things happen. But what happens when things don't work out the way they should have been? The same clay that makes a pot of "feel good" turns into a quagmire. Considering your oneness with the idea, you cannot believe how it could fail. You start fighting aggressively and no wonder the more you struggle, the more you go deeper into it.

At work, I remember, I had decided from not day one, but somewhere midway that I would not care about grades. I would work as hard as I can without expecting anything in return. I would not care about what people talked about me. I was gonna learn without keeping any expectations. So when I was the last person to leave office or coming on a weekend, people joking as they made their way out, I would just smile. It never affected me, as if there was a separate personality handling these comments and just dumping them. Then also as I heard that, " You were worthy of a very good grade. But.." I could not get good grades twice because I made my intentions clear much ahead of time, I did not feel bad. Instead I replied, " I can understand. There are other people who are gonna stay back and need more encouragement than me." ( Believe me..I was made the laughing stock cum epitome of idiocy as I relayed the story to my parents). It did not pain me at all. Repeated telecasts of the story at home, however, thanks to my parents, were enough to plant the seeds of expectations and now suddenly, I feel so bad about it. Add to that hearing about other colleagues who made a good plan about when to inform and whom to inform about their plan to quit and managing to get the best grade. Cheers to being over-frank!!

Coming across a rich guy or a well settled guy or a learned guy or a healthy guy and feeling the inferiority eat you in as you know you are light years away from getting there. One may say the reason for disappointment is competition, but deep down it comes to expectations; expecting that you be like him.

I could go on and on..proving examples..unsure though if I am right..

I feel expectation begets sorrow, disappointment and the ideal way is not to....expect. I am gonna try and do it, thinking about the smallest thought and nurturing it without expectations. Even partial success is good enough for me..and it starts from not checking facebook periodically for comments, likes..:).....I am at war.....with myself.....har har mahadeo.... 

Thursday, May 3, 2012

Broadband plans

I keep changing my broadband (triband from MTNL) plans every few months..keep checking the mtnl website or come across some hoarding somewhere about new data plans.

I started with the 399 plan (1GB limit 1Mbps) few years back. Never bothered to change until two years back. Once the overseas skype calling started and also when the internet usage widened from just email to chat, music, videos etc..the data plan had to change when the bills started to shoot. I found out from my usage summary that my downloads were close to 2-3 GB So changed it to a Rs. 750 plan (5GB download limit). It worked well for 2-3 months. Then one of the months we had some long skype talks. I think it was triggered when I bought a Belkin Wifi Router and now we could keep moving the laptop wherever we wanted and still keep Skyping. So as we say in marathi.."thode laadat aalo..." The next month the bill showed the usage going to 9GB and we had to pay the extra usage charges...whoa..burned the pocket..Immediately changed to an unlimited plan and after that I changed the unlimited plan twice trying out different speeds. The first one had low speed during the day and it changed to close to 1 Mbps at night when I was back home. But 384 kbps during the day was very slow..my dad cribbing about him not able to open even gmail (had to select basic html mode for that too). So tried to get an uniform speed one..one that gave 700 kbps during the day and some 800 kbps during the night for Rs. 749. That was cool..but then there was greed..the more speed the better..heard about the "xpress unlimited plans" from MTNL. So got it changed yesterday. So for Rs. 750, I get 2 Mbps speed till 15GB download and then 752 kbps for further downloads. Sounds good. Checked the speed using speedtest.net and found a peak of 1.8 Mbps now. I think 2 Mbps is gonna be the limit considering the bottleneck of ADSL technology. The next step can only be a continuous unlimited 2 Mbps connection whenever MTNL offers it for close to Rs. 600-800. After that, either MTNL changes the cabling to Fiber and changes the modems too or we have to switch to Wifi for higher speeds......



Thursday, April 12, 2012

Waiting..

I am waiting...waiting to be disengaged from service. It was an year ago that I decided on planning for further studies. From then on, the mind has been one scene of a melee..different disconnected tasks / thoughts each wanting to supersede the other for priority. Some thoughts that are just like those rogue processes that slow down your PC, without adding any value..their origins unknown..Add to that my whims and the blessings of the surroundings (the recos were indeed frustrating)..and it becomes a perfect mix for confusion / irritation. Three months back, I formally announced my decision to quit. I had imagined that the last month would be a cakewalk leading to a smooth exit.

But, things are still not getting cooled. In fact, they have heated up like they never were in the last year, accompanied by a lot of travelling, as if saying to me, " Won't spare you so easily, dude..". A major contributor in my restlessness towards this is my close association with the work. It is difficult for me (my bad..) to be fully dedicated to something at one point in time and suddenly starting to neglect it ( no wonder my blogs are dedicated to inertia of being...). Have heard without heed a lot of preachings from family members about how I am wrong in this regard..but they will be at peace too shortly, I hope..

Two more weeks and I will be free again. Work thoughts are going to flow out and new thoughts would flow in. I know it will take some time to focus in the newly found freedom. Hope to make the best of it...and I get back to waiting..

Thursday, January 26, 2012

The Bazar experience

Makar Sankrant passes..and my mom starts receiving invitations for "haldi kunku" pressing her to return the favor by conducting one herself. The item to be given away becomes a hot topic of discussion within the family. Cost is indeed a factor since it is to be given to atleast 30-40 ladies.  When she asked me, I was reminded of the ad I saw in newspapers and at BEST bus stands (Bravo publicity team !!). See the image in the post. So I suggested to her to have a go at Big Bazar as we remember the day India became a republic...a suggestion I regret giving now.



I have generally heard from other people or seen such a scene only in ads on TV where crowds are involved in shopping in a super market as if life depended on it. I was lucky to experience it myself this time. Me and my mom headed to the Big Bazar at Growels 101, Kandivali...very rarely do we travel outside the Malad -Goregaon belt for basic shopping. Cut to growels..we were welcomed by two queues of 50-60 people. Note here the queue was to enter the shop..coz the shop couldn't handle more. I could already feel the atmosphere around me..as if you are in line to be sent on the battlefield waiting for your turn. People were discussing what they will buy once they are in. In the meantime, I was observing the people who fought and emerged out of the place with more than 6-7 shopping bags. I was trying to observe the trend. I could see that some specific items were selling like hot cakes.

Once we were in, suddenly we both were taken by the storm of people inside. Literally...and I mean it really..no space to walk. People going across you in every possible angle, with their trolleys, baskets with their "Excuse", "Thoda jaga do", some threatening you with just the amount of load they are carrying. It made us forget why we were there. Mom forgot the purpose of the visit and started talking about some bulk packets of cooking oil cans, grains and started checking the offers. I had to pull her out of the temptation and remind her why we were there. So we got aside and started discussing, "What can we buy?" Low cost but something that is very useful..etc etc..First mistake...should have gone there with a plan...Big bazar in this season is surely not the temple to think in. We both wading through the place was becoming difficult, so I suggested her to be at a place with whatever we already bought and I went around the place. This is when I realized I made a bad suggestion about Big Bazar. Of course you do find deals at Big Bazar. Buy a 5 L can of A and get a 1kg pack of B free, buy 1 get 1 free (with the two things bound together in a tight tape with stickers on it) etc. It is a good place for families to get 2-3 months of stuff with some good deals. So you will generally have deals on huge packs and not small ones. Anyway, we did not want to waste all that effort we put in getting inside and we bought the items at that place. Some things I noticed,


  • You need a bigger place for such a thing. Though Big Bazar is experienced at handling large crowds, it surely does asphyxiate you surrounded by hundreds of people. A bigger place will make the shopping more pleasant.
  • People have this habit of holding meetings near that very unavoidable nook to decide what they should buy, why they should buy, the prospects, profits..damn it..find a better place and plan in advance. This is not a normal supermarket where you can have a stroll..this is Big Bazar in its sabse saste din!!! Be considerate about other shoppers..
  • Find a good time to go to this place..an unusual time to be precise..to avoid the crowds coz they are deadly and they care a damn...you can end up coming home with a bruised finger or arm thanks to the trolleys that keep rolling with their owners fixating on the offers.
  • Do not forget to take your vehicle. Moving around waiting for rickshaws with those heavy bags can be troublesome.
  • Be sure you avail all the offers especially since they have separate counter where the freebies are handed over.

That's all..phew..tiring....still 3 more days to fight...anyone interested?!

Saturday, January 14, 2012

Streaming different audio streams to different audio devices in Ubuntu 11.10

Started with my sis talking to me over Skype. And I wanted to listen to some Westlife songs on youtube. But the issue was that her voice was routed to the speakers and when I played the song (i had the song buffered), it too started playing on the speaker. So, naturally, I was being swore at for this. Especially since she got to listen to the song through my mic streaming to her at less than 300 kbps. I can understand how it must be sounding to her. So my problem definition: I wanted to get the westlife song to my USB headset and my sis call on the speaker. This way, she does not get to listen to the staccato variant of the song and I get both the call and the song.

Bit of googling and forum reading led me to Pulse Audio Volume control application for linux. The package is named "pavucontrol". Command to install it in ubuntu:

$ sudo apt-get install pavucontrol 

Run the application. It provides an interface for you for audio input, audio output and a tab where you can set the type of audio interface for each device. eg. a normal sound card would be Analog stereo duplex. Other options are Analog stereo output, input, digital stereo etc...
The feature which I was looking for was in the first tab. This tab gives you an interface for each application that is using an audio stream. In my case, it was showing me two entries:

1. Skype

2. Alsa plugin for chrome (since I was listening to youtube through chrome. Chrome uses the alsa plugin to access the sound hardware.)

For each of these applications, it provides a slider volume control and also provides a drop down for selection of audio device to be used (most required). So I simply selected the USB headset for alsa plugin and internal sound card for the skype app. There..done! Everyone's at peace... 

What I understood..ALSA(Advanced Linux Sound Architecture) works at a lower level and is closer to the hardware, while, Pulse Audio is a sound server at a higher level that provides you a host of features for the available streams like manipulatiing the stream, streaming it to another pulse audio server over the network, routing to different audio hardware etc..