PuTTY is a wonderful application that enables you to connect to a server by SSH.Â You can Â save a pre-configured session – host address, port, as well as other options that would make your life easier. And then you can click the saved session to start the pre-configured SSH session, thus don’t have to enter the host name and port every time you need to connect.
Once connected to the server, it will prompt you for user name and password. However, is there anyway to make it all automated? Like, after you double click the PuTTY shortcut in Windows, it will automatically connect to the remote server AND supply the SSHÂ user name as well as password so you don’t have to.
A double-click is all it takes to establish the connection and log in the remote server. Is this possible?
Just create a shortcut of PuTTY with a command line like this:
C:\tools\putty.exe -load session_name -l your_user_name -pw your_password
Wherein session_nameÂ is the saved session name, your_user_name is your SSH login user name and your_password is the password. Change “C:\tools\putty.exe” to the path of your own putty.exe.
You can use this to make the SSH Socks5 VPN even more easier to use. See this post on Kavoir.
While we like to think the Cloud is for everyone, we do realize it’s not for every use case. Some situations require both the benefits of dedicated hardware and the on-demand, scalability of the cloud. We have debuted a service offering called Cloud Connect, currently in beta, which provides the benefits of both worlds.
Learn more from Toby Owen, Rackspace Product Manager for Hybrid Hosting Solutions, on our blog.
A quick tip on how to find out whether your server is running on 64 bit CPUs or 32 bit architecture.
Log in via SSH and simply type:
And it would return something like this:
Linux example.com 126.96.36.199-node22 #2 SMI Tue Aug 11 19:14:36 UTC 2009 i686 GNU/Linux
If it’s i686, i586, etc., it’s 32 bit. If it’s x86_64, it’s 64 bit architecture.
To trace and know where a website is hosted physically (server location), you will first get its IP address and then query it for the geo location. Many online tools and IP databases offer such free services such as IP to Location. It not only converts the IP to a physical location but also tries to give the institution (companies, data centers, national organizations, etc.) that’s responsible for the IP address based on IP ranges distribution table with an option to map the IP geographically.
Oh wait, I think I forget about how to get the IP address of a website. All after all, you can ping the domain name to get the IP address of the site from command line. Or, you can use domain IP lookup tools such as this one. It not only gives you the IP address of the particular domain URL but also pokes the server around and guesses what other sites are possibly being hosted on that IP.
Actually, there’s a much simpler one to consult when you need to know the physical location of a site and where the website is hosted: Domain Tools. By querying a domain, it gives you the IP where the domain / site is currently hosted and also the organization or data center (might be a hosting company) that’s administering the IP. Very good tool to know where a site or domain is hosted.
Cloud computing has been the latest buzz word ever since last year 2008, promoted by large Information Technology companies such as Google, Microsoft and IBM. It’s very similar in nature to grid computing (An alignment of individual computers serve virtually as a single one, providing combined computing resources) though more focused on the way of consumption rather than the infrastructure itself.
The biggest Cloud is the Internet itself. It is a form of computing that supplies resources as a service to the consumers (enterprises or individuals) and that is paid for in the manner of utility such as electricity. This way, traditional sunk cost of building a huge self-supporting IT infrastructure can be avoided and users only pay for what they use as they go and exit freely. The actual physical infrastructure is created and managed by experienced hands who run and support it as well as the computing buyers.
It’s much like the on demand allocation of computing resources such as CPU time, network capabilities and digital storage with flexibility in scaling. The whole system frees the users from learning and managing all this stuff.
Cloud hosting, or cloud web hosting, similarly, backed by large clouds of computing devices or a cluster of servers, supplies hosting resources such as data storage, network bandwidth and CPU usage and bills the customer in the way of utility. With a cloud host, we only pay what we use and never have to worry about how this cloud stuff is accomplished in the back stage. We don’t have to worry about any of the technical aspects such as load balance and security, nor the hardware performance (CPU, RAM,Â hard drive, etc.), nor the chores such as device repair or replacement. We just consume and enjoy the results – the hosting resources – and use them to feed our websites and applications.
In simple words, any of the websites hosted on a hosting cloud or cloud based hosting should have the potential to spread its computing needs across the entire cloud, introducing the following benefits:
- Instantly available resources from the pool (not restricted by any single physical server at all) to be allocated to where it’s most needed.
- High scalability enables easy and fast scaling in resource consumption, either manually or automatically.
- Sudden website usage surge will not be a problem at all because the burden is evenly spread across the entire network.
- High availability and great reduced failure risk because the cloud works as a whole and any integral piece of hardware in it is dispensable. The failure of any one of them will not affect any of the hosted websites at all.
One of the most prominent players in the current cloud hosting market is Rackspace Cloud.
Crucial Update: The promo codeÂ (Code ID=134) as well as the $25 discount promotion will be ended byÂ March 18th, 2010 by Rackspace Cloud. If you are still making up the mind to sign up with them, now is the time.
Activate Promo Code (ID=134) at RackspaceCloud.com »
Mosso (now Rackspace cloud) is probably the only hosting business that’s completely on a monthly subscription model, no discount incentives orÂ whatsoever to lure you into yearly contracts,Â enabling its customers to leave anytime they want.
After some talk with Rackspace cloud, Shanghai Web Hosting is delighted to present our readers with a special Rackspace CloudÂ coupon code or referral code for the Cloud Sites hosting plan:
(Claim Code) click to activate, ID=134
This permanent Rackspace referral coupon code will guarantee a $25 discount (rebate / refund after full payment) from the first month at Mosso, now the RackSpace Cloud hosting. Just enter the code in the Promo or Referral Code text box when supplying your credit card details.
You don’t need to worry about the refund policy as well, because you can still qualify for a full refund for the 1st month after using this coupon code for Rackspace Cloud Sites.
See RackspaceCloud.com Promo (ID=134) »
To know why Rackspace cloud is unique, read our article about Rackspace cloud and the coupon or read a few customer reviews.
One of the first things that may concern you is that whether your web hosting company has equipped enough CPUs or Processors on your server as they have allegedly done. Or you are on shared plans and are simply curious whether your web hosting provider is overselling by overloading your server a lot.
First make sure you have SSH access to your hosting server which majority of hosting businesses are now providing. Then create an SSH account and log it in to the server.
A rather simple linux bash command will help you determine how many CPUs your host has on your server:
cat /proc/cpuinfo | grep processor | wc -l
This combination of pipeline command extracts server processors information from /proc/cpuinfo that contains CPU details each per line, returning a plain number which will usually be 1, 2, 4 or even more.
There you go. Now find out whether your host is cheating on you with this tip in addition to checking your server load! 😉
You can find plenty of other useful and interesting information about your hosting server and OS release at /proc. For example, for some RAM stats:
For total seconds since the last reboot:
For Linux release and versions:
And much more. Just ‘ls /proc’ and try for yourself.
Use DreamHost promo code: CASH60 signing up at here to qualify for an instant discount of $60.
DreamHost is undoubtedly the most trustworthy hosting provider in the affordable web hosting sector. Read an in-depth review about DreamHost.
As SSH is inherently tunnel-enabled for setting up socks5 proxy servers, you can instantly turn your personal computer into a socks5 proxy server by the help of PuTTY through your web hosting server, breaking through firewalls. The idea is to direct all traffic from your local computer browser through PuTTY SSH session to the web hosting server and back from it.
Here we go:
- First, make sure your web hosting provider provides SSH access to your hosting server. DreamHost (use coupon CASH60 for $60 discount) as well as a lot of other hosting companies do.
- Second, download PuTTY, run it, and set up the SSH account by entering your hosting server address in Host Name (or IP address).
- Add SSH tunnels by:
Connection -> SSH -> Tunnels ->Â give it a random Source port (in this example, ‘8844’), enter Desctination as ‘localhost’ and select Dynamic and Auto, and click Add. Now there should be an item of ‘D8844’ in the Forwarded ports list.
- You may want to switch back to Session to save the session for easy access so that a simple double click would trigger the connection based on all the configurations you have done so far.
- Double click the saved session and log into your SSH account. Now you are in your web hosting server.
Leave the SSH session open and your personal computer has now become a socks5 proxy server. Open your favorite browser, for example, FF3:
- Tools -> Options -> Advanced -> Network -> Settings -> Manual proxy configuration -> SOCKS Host: localhost, Port: 8844 -> OK
- You are now set. Fire up a tab and surf through the socks5 proxy on your local computer.
Remember though, that all traffic you use by browsing the web pages and downloading whatever stuff by the local proxy goes through your web hosting server and will be counted on the hosting bills.
Exciting! Now you’ve got your very own proxy server (socks5 server is the most versatile among all types of proxy servers including HTTP proxy and FTP proxy) that’s local, stable and in your perfect control for getting around all kinds of firewalls. Screw all those obsolete online proxy server lists with unusable proxy servers!
Web hosting can be very lucrative considering the marginal cost of each additional customer and the big chance of locking them up – most clients are reluctant to switch if the current host is good enough.
As a buyer, you want your money worth the deal. Here is a general list of things you should do at choosing a web hosting provider:
- Is their sales site design good and unique?
Not necessarily has to beÂ beautiful andÂ gorgeous but uniqueness and aesthetics integrity should account for the seriousness they take in their business. A bad designÂ or aÂ copied design would just hint their inability to start decently, let alone their competence in serving you well.
- Is their sales site PageRank high enough? Does it have good amount of back links? Is it old enough?
Senior sites are undoubtedly more trustworthy. And a senior site often bears high pagerank (check any site’s pagerank here) and a fair amount of backlinks (check for number of backlinks of a site by link:site.com in Google). You can also check for the age of aÂ web hosting siteÂ by querying its whois infomation.
- Do others / paying customers review for them or against them?
There’s plenty of places where you can find reviews and ratings of hosting companies. One of the biggest unbiased community is Web Hosting Talk. Just go search the name of the provider for what others are saying about them.
You can also search for ‘xxx hosting reviews’ in Google for ratings and reviews. But be warned that some of the reviewing sites are financially affiliated with the webÂ hosting providers andÂ therefore theÂ reviews should be taken as rather biased ones.
There’s actually much more to consider when choosing a web hosting company. Remember that there’s no perfect hosting provider except what’s perfect for you and that there’s no web hosting without a single negative reviews. So instead of obsessively seeking the most reliable hosting service, comparing for the most cost-effective one would be a better idea.
Update: A good approach is to try to detect and find out what famous websites are using as host by tracing the IP address and where the domain is hosted.
How Internet marketing and web businesses work in mainland China is substantially different fromÂ how things are in the English speaking world. It’s no exception with the web hosting industry that comes in asÂ a fundamental part of all Internet businesses.
As a result of the lack of necessary legal accountability (it can be hard, with bureaucracy andÂ a population of 1.4 billion), web plagiarism is pervading and generally deemed acceptable if the copying website leaves the credits intact, even with materials that are published withÂ full rights reserved.
Understandably, there comes the subsequent abundance of web page scrapers, programmed automatic harvesting demons and intruding robots running all over the web and stealing things from each other. The last thing any web hosting providers in China want to do, is to provide a lot of bandwidth or monthly transfer to website owners. Currently as the most expensive resource, it’ll definitely be fully exploited and used up, causing substantial trouble to hosting providers and data centers.
Therefore, the major difference between web hosting in China and that in western countries is that the monthly transferÂ or bandwidth quota and server disk storageÂ are incredibly much much smaller.
For instance, a $8 / month shared plan would now offer like dozens of TBs of monthly transfer and several TB storage from major cheap hosting providers. Some are evenÂ hyping withÂ unlimited resources for the entry level shared plans costing no more than $15. However in China, with $8 / month which is roughly 650 RMB Yuan per yearÂ will only secure a monthly transfer of a few GBs or less and a disk storage of merely hundreds of MBs. That’s thousands times less competitive gauging from the same price level.
A hosting company so stingy in offerings will simply vanish in the western web hosting market, but in China, it just has to be this way.