Web Site Hosting Features: SSH-Telnet

 

The SSH option allows you to manage secure telnet access to your account. The difference is security. With SSH, your login and password are encrypted. The only way to gain Telnet access to your account is by using SSH secure telnet software that must be loaded on your computer. The recommended software is Van Dyke Technologies Secure CRT.

The SSH Option allows you to upload the RSA (Rivest, Shamir, Adleman) key generated on your computer by the SSH software to the server on which your site resides. Once completed, you will have secure Telnet access to the site.

Not yet a customer? Click here to compare our hosting packages to get access to the shopping cart and all our other incredible features!


How To Use the SSH Manager:

  1. From the Control Panel select the SSH icon.

  2. The SSH Manager provides step-by-step instructions for transferring your public key to the server. The first step in this procedure is this: Create your RSA key. Your software will have directions on how to do this. The next procedure in this document shows, step-by-step, how to create this RSA key using the Secure CRT software.

How To Create an RSA Key with Secure CRT:

  1. Launch the Secure CRT application. The application displays typically with the Connect dialog box open to the Session List tab.

  2. Select the New button to create a new session.

  3. In the Name field, enter name of the session you are creating.

  4. In the Protocol field, select ssh from the drop-down list.

  5. In the Hostname or IP field, enter your domain name or IP.

  6. Complete the rest of the fields on this screen with the appropriate information. Make sure to enter your domain user name in the Username field and to select RSA from the Authentication field's drop-down list.

  1. Select the Advanced button.

  2. On the General tab, select the Create Identity File button from the Identity Filename section of the dialog box. The SecureCRT - RSA Key Generation Wizard displays.

  3. Click on the Next> button to proceed with the next step of the Wizard.

  4. If you wish to use a passphrase as an added layer of security, enter the passphrase and Confirm Passphrase fields. Don't forget to have your passphrase handy. You will need it when establishing a connection to the server.

  5. In the Comment field, either accept the default value or enter a new one. The comment will be your way of knowing when the application is prompting you for your passphrase.

  6. You need to determine the length of your RSA key pair needs to be determined. It is recommended that you choose 1024 bits. Once you have entered a number, select Next> to proceed.

  7. As the instructions in the wizard indicate, you need to move your mouse around on the screen for the application to generate the key. The application uses a complex set of formulas to create the key out of a mathematical interpretation of your mouse's movements. When you have moved your mouse around sufficiently, the screen automatically changes and the key pair is generated. This is shown in the image below.

  8. When both progress bars are "full", the Next> button becomes enabled. Select it to proceed.

  9. Select the folder on your hard drive in which to store the key. You can accept the default, which is usually the identity sub-folder of the SecureCRT folder, located wherever you installed the application originally.

  10. To complete the wizard, select the Finish button.

  11. From there, select the OK button to close the dialog box. The Session Preferences - new dialog box reappears.

  12. Select OK to apply the changes and end the procedure. Your newly created session will now appear at the bottom of the Session List.

Warning: At this point you cannot yet connect to the server using Secure CRT. First, you must place the RSA key on the server using the SSH Manager in the Control Panel. This is explained in the next section.

How To Place the RSA Key on the Server:

  1. From the Control Panel, select the SSH icon.

    Place your key in the text box that is provided in the SSH Manager and submit it. (To do this, you must open the key in another application, copy it, and then paste it into this text box.)

  2. Launch any text-editor. On a Windows-based PC, Notepad will suffice. (This is available from the Start menu, under Programs, then Accessories.)

  3. From the Notepad File menu, select Open.

  4. Find the key file by switching the Files of type field to All Files (*.*). Then, move through the directory structure to the location of your file, identity.pub. (The application stated where the file would be stored in the previous procedure.) When you located the file, double-click on it to open it in Notepad. (Note, the image below has been altered, so the key will not actually work.)

  5. Once the key is displayed in Notepad, highlight the entire key with your mouse. From the Edit menu, select Copy.

  6. Switch back to the SSH Manager and paste the key into the text box. You can do this by placing the cursor in the dialog box and either selecting Edit and then Paste from your browser's main menu or by using the key combination [Ctrl] + [V].

  7. Select the Submit button. A new screen displays.

  8. Enter the IP address for any computer from which you will be accessing the server. You can get this information from your ISP (Internet Service Provider). Or, if you are currently at the computer you will be regularly using, you can find the IP address by opening a DOS prompt and typing the command, ipconfig. Another way to find your IP with Windows95-98 is to click on /Start/run/ and type Winipcfg.exe

  9. After you have entered a number in at least one of the spaces provided, click on the Next button. A new screen displays.

  10. Make sure that the IP address listed is correct. Then select the Submit button. A message appears indicating that you will be able to access the server, via your SSH software (Secure CRT), from one of the addresses you listed within the next ten minutes.

Once these steps have been performed, use the Secure CRT software as usual to establish a connection to your site on the server. You will be prompted for your passphrase when the connection is made. Once the connection is made, Secure CRT works similarly to other telnet utilities.

Here are some basic easy to learn UNIX commands:

pwd - The pwd command tells you what the current working directory.

ls - The ls command lists the files and subdirectories of the current directory you are in. You can also add some arguments to the ls command.

ls -F will append a forward slash to the subdirectory names so you can easily distinguish them from file names.

ls -a will show all hidden files such as .htaccess files.

ls -l will show detailed information about each file and directory, including permissions, owners, etc.

The mkdir command makes a new directory. Simply type
mkdir /home/username/yourdomain-www/directory
and replace directory with the name of the directory you want to create.

The rmdir command deletes (removes) a directory.

The cp command copies a file to a new location or filename. Simply type cp filename copyname and replace filename with the name of the file you want to copy, and copyname with the name of the new copy.

The mv command renames a file or moves it to a new location. Simply type mv /home/username/domain-www/oldfile newfile

The rv command deletes (removes) a file. Simply type
rm /home/username/domain-www/filename

The tar command copies a file or files to or from an archive. To put all the files in a directory into one tar format file, simply type
tar cvf name directory and replace name with the name you want to call your archived file, and replace directory with the name of the directory that contains the files you want to tar.

To extract a tar format archive, simply type tar xvf tarfilename at and replace tarfilename with the name of the archived file you are extracting.

 

A shopping cart is included in all our hosting packages