Blogs

Posted by: {authorName}

Tired of always typing your password when logging in to your server? Here are steps on how to you can eliminate the typing of your password and making it more secure when connecting to your server.

In this example scenario, let's call your local computer "mars" with user happy. We'll call the remote server "jupiter" with user happy (this can be any user in jupiter).

First in mars, fire up the console type the following command:

[happy@mars ~] ssh-keygen

You will be asked to specify where the key should be saved and optionally add a passphrase (aka password). Just hit enter key on those question. No need to enter a passphrase because it will beat our purpose.

The command will produce 2 files in /home/happy/.ssh folder. A private key which is used by the ssh program when connecting to remote hosts and a public key which needs to reside in the remote hosts.

We will now need to send the public key to the remote hosts.

[happy@mars ~] scp .ssh/id_rsa.pub happy@jupiter:/home/happy/

You will be asked for your password and if successful your public key will be transferred to the remote server.

We now need to tell the remote server that that public needs to be trusted.

[happy@mars ~] ssh happy@jupiter
happy@jupiter's password:
[happy@jupiter ~] mkdir .ssh
[happy@jupiter ~] cat id_rsa.pub >> .ssh/authorized_keys2
[happy@jupiter ~] rm -f id_rsa.pub
[happy@jupiter ~] chmod -R 700 .ssh

TIP: If you have the same username in the local and remote server, you can omit the "happy@" when doing ssh command.

This may be the last time you will be typing your password. The first command will get you inside the remote server as you usually do. The second one copies your public key into the authorized_keys2 file. The third one deletes your public key. Lastly, the fourth command sets the authorized_keys2 permission correctly (you only need to do this once).

You are now set to password-less logins. Exit the remote server and try logging in again. It should not ask for your password any more.

Posted by: {authorName}

There is a story that goes something like this:

In the time of the race for space exploration, the US government funded research to create a pen that could write in outer space. As there is no gravity in space, the ink wouldn't flow.

They wasted years and millions of dollars for the research to get that perfect pen. Russia solved the problem in a couple of seconds... with the use of a No.2 Pencil.

Like this example, one problem being faced by computer users, especially PC users using Windows XP, is booting when there's a problem with their systems.

One solution I used before was inserting a bootdisk made from Windows 98. Low-tech yes, but for a home user it works.

I usually carry a bootdisk in a 256mb USB stick and yes, I also carry a no.2 pencil.

Majority of the people I know are finding ways to minimise costs, and who doesn't want to minimize costs after buying a computer that is worth a lot of money?

I have an iPod now as thanks to KAYWEB, I can afford one.

What I used to do when I needed to listen to music and the majority of people around me were using iPod was use a CD player (sometimes a Sony Walkman).

Music is music in my opinion, and I can't finish 2000+ songs in a day so I was content with a cd player. It costs less and makes me look "vintagey" cool.

The tech world is focusing on the much-publicised Apple iPhone 4 problems.

A lot of users are not satisfied with their iPhones. One solution is to stick to phones that have what you need, and none of the plethora of things most don't use.

As an example, I use an LG Cookie as my phone, I only need it for calling and SMS anyway.

If I need a camera, I save for a camera. If I need music, I save for an iPod. And so on.

I buy items that do what they're supposed to do and not the things they're not.

I believe that the simpler you keep a system, the less the problems it can cause for you.

Posted by: {authorName}

Have you ever received an error message at the top of your Google Analytics page saying “This page has encountered an error that may prevent it from working correctly.”?

If you do, then the solution is this.  This error appears to be an issue with the Google Analytics servers and would be solved by using an alternative browser.

The said error mostly appears for Safari 5 users. Many complained that after upgrading to Safari  5Google Analytics stopped working for them. Others say they got logged out and needed to sign in again.

Thus the conspiracy question arose: Does Google hates Apple's Safari?

It's worth mentioning that the most popular answer in the Google help forum that discussed the Google Analytics - Safari problem says:

"An item in the Analytics blog, dated June 20, 2006, indicates that Google Analytics indeed supports Safari.  I have not seen anything since to indicate otherwise.  The key here isn't dissing one browser or platform over another, but building applications that are supported universally, cross browser and platform.  I believe Google is committed to doing that.  Someone obviously got some programming wrong (Google - please fix it)."

So that’s basically it. This problem can be fixed by using alternative browser, like Chrome or Firefox. But if you’re not a Safari user and still experience this problem, the solution is to set the date and time of the computer.

Hope this helps...