I decided to install Drupal on my web server and instead of downloading the install files to my desktop, unzipping them and then uploading them back to the web server (which takes ages over ADSL) I thought I’d have a go at downloading them manually over SSH. In effect SSH is a method of connecting to your Linux web hosting service as though you were actually at a terminal logged in to that machine, in effect you have complete control over your web space with the ability to use the array of commands available to all Linux users. Most web hosting companies offer SSH access on their decent packages and I definitely recommend it as a shortcut for various things such as deleting files, setting permissions and editing config files (yes, I actually like vi). So, if you’ve got SSH access, how do you use it? First you’ll need to find out the Host Name, Username and Password from your hosting provider, then one of the following - depending on whether you’re a Windows or Mac user…
If you’re on a Mac running OSX you’re in luck, you already have an SSH client to hand, if you go to Applications then double-click on Utilities you get an array of useful applications - be careful here but the one we want is Terminal. Once you’ve launched Terminal type the following: “ssh username@system”, you will then be prompted for your password and you’re in!
If you’re on Windows then get yourself a copy of PuTTY, a small but fantastic little application that’s free for both commercial and non-commercial users. As an aside, the PSFTP client on offer there is also a great secure FTP client.
Now, if you’re not used to having command-line access to systems and especially if you’ve no Linux skills at all I’d suggest you read some good starter materials and learn more about Linux - messing with the command-line is very dangerous and there is no undo feature! I may start writing some posts about both the Linux and Windows command-line but in the interim please feel free to ask for advice, just leave a comment on this page and I’ll get an email, alternatively send me a direct message on Twitter.

No User Responded In This Post
Leave A Reply