Pages

Wednesday, January 28, 2009

Ssh stable reverse tunnel

Many servers are being accessed using tunnels and we are tired of recreating the tunnel again & again. Here is script which can sure the availability of tunnel.
The solution to use ssh command without using the console(tty) is to add -t -t option. Option can be used for remote/local tunnels also.
Eg : ssh -t -t -R 2222:localhost:22 username@

This will create a pseudo terminal which will login to remote server. So, actual terminal is not engaged by ssh proc, which makes the tunnel more stable & consistent. To add on further check, we can check if ssh proc is running & create new ssh tunnel using shell script with a cron job at hourly interval. Shell script can be changed to reset tunnel every hour using kill $PID & recreate tunnel to insure availability.
For further details check man pages. Such tunnels can be configured to allow remote login to office machine. Feel free to ask if have any query. Sample tunnel script attached with mail.

Further suggestion are welcome !

Tuesday, January 20, 2009

Outing at S'pore East coast

Most memorable thing was roaming testing done with Starhub team. We actually went for outing on east coast. It was great fun. Testing was a nominal thing. Team had planned for lunch in coastal area Indian Hotel. I was accompanied by Sabrina (The lady boss), Rachel (The cute lightweight girl), Fiona (Fairly family lady), Gek Choo (Elderly religious vegetarian lady). All ladies with Chinese origin/look but very caring attitude. We placed the order, I still remember the order :

1. Dal Makhani - Sabrina asked to have bucket full of daal after seeing same on next table
2. Butter chicken- As it was must to have non-veg
3. Naan- 1 Mango, 1 cheese, 2 butter.
4. Veg rice + some spicy sup for Gek Choo.

I went to wash my hands as Indian culture. Ladies were confused, why this guy went away.. when lunch is ready. I started eating with right hand.. cutting piece of naan with fore finger & support of mid finger & thumb.. as typical roti eater does. It was amazing thing for ladies. Sabrina tried cut roti with fingers but couldn't.
And Rachel was cutting her naan with fork & spoon. Some how she managed to finish her stuff but couldn't digest it. As on next day she told she had bad stomach & had to go bathroom many times. Gek Choo had ordered some spicy rice which to too much hot to eat. She keep on drinking water along with sup & rice.

I tell you, I really enjoyed the lunch. I guess, it was very difficult thing to digest for ladies. Before landing to hotel, I was agreed to sponsor the party. Bill was some 80$ = 80X33 = 2640RS which will go for party of 15 people in India. Never mind. Bill was refunded by my company & that lunch was most memorable lunch in S'pore.

Great stuff..
Great people... to keep long lasting memories..

Friday, January 9, 2009

Mangesh-Vrushali kissa

Dear friends,

There was a small dude named Mangesh.. We use to call him "Mong". On his other side...His only love... Vrushali..


They loved each other like anything..

But fate separated them after college days..

The day came in Pune, Mong saw her again near Kothrud and it again started their old affair again!!

They plan to go for date.. place was "Zudpachya mage"

I guess, people understood.. what happened next to it !!!!

b bye

=========================================================================
T & C
==========================================================================
Content Boundaries

Our content policies play an important role in maintaining a Googley experience for you, the users. Please respect these guidelines. From time to time, we may change our content policies so please check back here.

PORNOGRAPHY AND OBSCENITY:

* Pornography and Obscenity: Image and video content that contains nudity, sexually graphic material, or material that is otherwise deemed explicit by Google should be made private. Otherwise, we may put such content behind an interstitial.
* Pedophilia, Incest and Bestiality: Users may not publish written, image or video content that promotes pedophilia, incest and bestiality.
* Commercial Pornography: We do not allow content that exists for the primary purpose of monetizing porn content or driving traffic to a monetized pornography site.
* Child Pornography: Google has a zero-tolerance policy against child pornography, and we will terminate and report to the appropriate authorities any user who publishes or distributes child pornography.

HATEFUL CONTENT: Users may not publish material that promotes hate toward groups based on race or ethnic origin, religion, disability, gender, age, veteran status, and sexual orientation/gender identity.

VIOLENT CONTENT: Users may not publish direct threats of violence against any person or group of people.

COPYRIGHT: It is our policy to respond to clear notices of alleged copyright infringement. More information about our copyright procedures can be found here.

PRIVATE AND CONFIDENTIAL INFORMATION: We do not allow the unauthorized publishing of people's private and confidential information, such as credit card numbers, Social Security Numbers, and driver's and other license numbers.

IMPERSONATION: We do not allow impersonation of others through our services in a manner that is intended to or does mislead or confuse others.

UNLAWFUL USE OF SERVICES: Our products and services should not be used for unlawful purposes or for promotion of dangerous and illegal activities. Your account may be terminated and you may be reported to the appropriate authorities.
==========================================================================Copy of Blogger