May 022014
 

You could have come across the term, “cPanel” if you have been searching around for a shared Linux web hosting or logged into cPanel right now if have got a new hosting account. cPanel is a web-based tool that can help you manage the files on your website, email associated with your domain, and basically manage almost everything about your hosting. It is extremely user-friendly and can enable one to manage their hosting even if you they do not know much about web hosting.

There are several alternatives to cPanel like, Webmin, Virtualmin, and Zpanel, but cPanel simply blows its competitors out of the water, because of it user-friendly interface and features. When you sign up for a shared web hosting for your online business or personal websites, 99.9% of the time you will have cPanel to help you manage your hosting. Although, a lot of professionals like to use a console to get things done, which can give you major geek credits, for someone who is just starting out in the world of hosting, learning the basics about cPanel is probably the first step to accomplish tasks quicker.
Continue reading »

flattr this!

Mar 032013
 

Many NAT firewalls or VPN server time out idle sessions after a certain period of time to keep their trunks clean. Sometimes the interval between session drops is 24 hours, but on many commodity firewalls, connections are killed after as little as 300 seconds, and this can be a problem if you are working on a remote machine and suddenly you find yourself logged out with a message “Connection reset by peer”.

In a former article I’ve presented autossh, a solution that comes to your help when you want to be sure that a SSH connection stay always on between 2 machines. Autossh is a simple program that allows you to run an instance of ssh, keep it under control, and restart the same instance once that the connection is dropped up to a maximum number of times controlled by an environment variable.

This is useful if you need to have a “permanent” connection between 2 machines, but perhaps you just need to have a connection between your personal computer and different servers, and in these cases autossh is less useful, so let’s see how to use some openssh options to keep our connection open.
Continue reading »

flattr this!