Web Hosting Forums

Web Hosting

Discussion Forums

HowTo use SSH with your hosting account

This is a discussion on HowTo use SSH with your hosting account within the HowTo Tutorials for web hosting forums, part of the Virtual Hosting Forums category; SSH? What is SSH? It is Secure Shell, an encrypted command line connection to your account. It is very powerful ...


Go Back   Web Hosting Forums > Virtual Hosting Forums > HowTo Tutorials for web hosting

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-31-2007, 10:38 AM
michael_s's Avatar
AABox Staff
 
Join Date: Dec 2003
Posts: 89
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default HowTo use SSH with your hosting account

SSH?
What is SSH? It is Secure Shell, an encrypted command line connection to your account. It is very powerful and allows you to do many things that are simply impossible over FTP or HTTP connections.

If you need to move files, copy, rename, find, zip/unzip, tar/untar right on the server, SSH is how you do it.

For example, imagine you have 10,000 pictures you need uploaded to your server. You can either ftp them one at a time (even batch ftp still has to upload each file one by one) or you can zip all the images into one file, and FTP that single zip file to the server, then unzip it on the server.

Now, the problem is that you cannot unzip the file through FTP. You need a way to unzip it. That is where SSH comes in. Once you have uploaded your zip file, you will then need to connect to the server via SSH.

Once connected, you can simply type unzip filename.zip at the command prompt and you are done! The files are extracted into place, and it takes seconds, instead of hours. This is just one example, but you can see the power of SSH. You are able to remotely execute files/programs on the server.


The Basics of SSH
First, in order to use SSH on our servers, you need an SSH client. This is just a program the runs on your computer and gives you an interface to type commands and store your connection information.

We recommend puTTY for windows based users, which is free. You can download it here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/

Once you have downloaded and installed puTTY on your computer, start it like you would any other windows program - double click the icon or menu listing. Fill in the connection information that was provided in your welcome email from AABox when you signed up.

The information you need to fill in is the host name and port which should have been provided to you in your welcome email. The places to enter this info into puTTY is highlighted below:



Once you have entered the correct information, click the Open button and puTTY will attempt to connect to your account. You will get a message about a key, click Yes. See image below:




Finally, a terminal window will open and look like the image below. Type in your cpanel username at the login as: prompt and hit enter. Then enter your cpanel password (It will not appear in the window) and hit enter. See the below pic:




After you enter your username and password, if your login is successful, you will see the following screen and will be ready to do whatever you need to do via SSH:



If your welcome email did not provide SSH connection information, your account may not allow SSH access and you will need to upgrade your account to one that does allow SSH access. Contact support here.
__________________
Michael Sasek
AABox Staff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
HowTo Park a domain on a subdirectory michael_s HowTo Tutorials for web hosting 2 10-28-2007 04:18 PM
HowTo Create a mysql database in CPANEL michael_s HowTo Tutorials for web hosting 0 03-31-2007 09:39 AM
HowTo Create POP email accounts in CPANEL michael_s HowTo Tutorials for web hosting 0 03-31-2007 09:37 AM
Virtual Hosting Offer : AAPower 51% off special! michael_s News and Announcements 1 12-18-2006 07:25 AM
Special October/November offer: $60/year discount virtual hosting michael_s News and Announcements 0 10-02-2005 12:04 PM


All times are GMT -8. The time now is 06:12 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2002-2008 AABox Web Hosting