March 4, 2010

For me as a Linuxw user I always had to type long lines to start my SSHw sessions. It’s no rocket science, you know, but for he who types thousands of characters each day, each character save is golden.
We usally start our SSH sessions by typing the following command string:
I’ve tried to shorten this by adding the domain and its TLDw to my hosts file with a shorter alias like
hname hostname.tld
But obviously that crashed against Apachew Vhostw capability, the request never make it to the other end.
I personally have SSH keys on some of my servers to avoid typing passwords, that is good to prevent against MITMw attacks and keyloggers, but I still have to type the string mentioned lines above.
Then, with 3 lines in a SSH’s configuration file on my home directory (yes, you don’t need to alter the server’s SSH configuration file and yes, you can do that on your shared hosting’s shell account).
Read the full article
March 16, 2009
Google (and other search engines) treats subdomains as different websites so if you are linked / accessed both via http://www.yourdomain.com and http://yourdomain.com you may get your content classified as duplicate since will be the same on both.
To avoid this simply add a rule to a .htaccess file in your root directory:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
</IfModule>
NOTE: You need to have mod_rewrite enabled in your server in order to do this.
March 9, 2009
Ubuntu is indeed responsible for the huge growth of Linux home-users due its simplicity of out-of-the-box use. As a brief retrospective, the emerging (in past) Linux distributions were always known to their difficulty on setting up the propper drivers and essential software. If you were installing on a laptop, things turned out to be a nightmare. At this point, only IT people used Linux because home-users were scared away (I think it coincided with the ugly GTK 1.x interfaces – under Gnome).
Ubuntu emerged to aid home-users and be more user-friendly, having and startup installation that would recognize and install all your drivers and give you a starting setup of the most common used tools like e-mail clients, IM clients, web browser and an office suite.
Read the full article
December 12, 2008
For every *nix/BSD user, there was no life before SSH and even the crappy Windows plataform got a client (thank god).
But I’ve personally ran into many bad experiences that Google helped me solve.
So, here are my advices for logging into SSH to a linux machine:
- Change your Terminal Emulation to “linux”: Connection-> Data -> Terminal-Type String = linux
- Change your escape sequence to “Linux”: Terminal -> Keyboad -> “The Function Keys and Keypad” -> Linux
- Set the terminal to UTF-8: Window -> Translation -> “Character set translation on received data” -> UTF-8
That’s it, if someone has other tips envolving PuTTY SSH Client, please share at the comments!