14 April, 2009

SSH shortcuts

ssh -p66666 rezuan@192.168.1.1 -L13128:localhost:3128 -X

There you go. Just another long ssh commands that you gonna forget. How about those IP addresses ? And the port numbers? Can you remember every single one of them? Fuck no, of course.

I hate those long strings dammit.

When you do advance stuff on ssh, it goes without saying; that the ssh command will be very long. Now, here's a trick to make the long strings go away. Under your "home" directory, find your hidden ssh folder and edit the "config" file. 

cd /Users/rezuan/.ssh && vim config

If you cannot find the file, you can create it. Let's edit the file based on the long ssh command like the above. Here's the end result :-

Host www # the shorcut "name"
User rezuan # username
Port 66666  # port number
HostName 192.168.1.1 # the IP address or host name

Save the file. Now, type this :-

ssh www

Now that's better, right ? Please leave your comments.

02 March, 2009

Ubuntu in Ampang's constituency, Malaysia

The following is a short documentary in Malay, on how few Malaysians are using Ubuntu Linux in their work. Well this is just one of the example. I'm pretty sure there is a growing Free & Open Source Software ( FOSS )  community in Malaysia, hiding somewhere.

Well this dude in the video, is working for the opposition party in Malaysia. Their elected party member is responsible for Ampang constituency, which is located in the heart of Kuala Lumpur.

For full text, go here :-

28 February, 2009

War Protestors at United Nations, Damansara Height & supporters of Tamil Eelam