Use WinSCP to connect to Sitehost

Use WinSCP to connect to Sitehost

To log into your Sitehost account using WinSCP (an sFTP client for Windows):

  1. Connect to the IU Groups VPN using your personal IU username and passphrase, and select your device from the "Connect to the VPN" section.

    If prompted to select a role, choose the IU-Linux-Hosting-Users option.

  2. Open the WinSCP client.
  3. In the Host Name (or IP address) field, enter the hostname for the server you want to connect:
    • Production Sitehost: ssh.sitehost.iu.edu
    • Test Sitehost: ssh.sitehost-test.iu.edu
  4. Enter your group account credentials:
    • Username: The name of your web account
    • Password: Your group account passphrase
  5. To retain your settings, select Save and enter a site name.
  6. Select Login.
    Note:
    The first time you connect to Sitehost, you will be asked to verify the server. Select Yes.

Use SSH keys to connect to Sitehost via WinSCP

To log into your Sitehost account using SSH keys via the WinSCP client (available from IUware):

  1. If needed, first refer to Generate and use SSH keys with Sitehost.
  2. Connect to the IU Groups VPN using your personal IU username and passphrase, and select your device from the "Connect to the VPN" section.

    If prompted to select a role, choose the IU-Linux-Hosting-Users option.

  3. Launch WinSCP, and then, in the "Login" window:
    1. On the left, select New Site.
    2. On the right:
      • In the "Host name" field, enter the hostname for the appropriate server:
        • Production Sitehost: ssh.sitehost.iu.edu
        • Test Sitehost: ssh.sitehost-test.iu.edu
      • In the "User name" field, enter the group account username.
      • Leave the "Password" field blank.
      • Under the "Password" field, select Advanced.
  4. In the "Advanced Site Settings" window:
    1. Under SSH, select Authentication, and then select the at the end of the "Private key file" text field to find and select your private key.
    2. Under Environment, select Directories, and then make sure Remember last used directory is not selected. Also, if applicable, delete any existing directory path from the "Remote directory" field.
    3. Select OK.
  5. In the "Login" window, on the right, under "User name", select Save.
  6. In the "Save session as site" window, in the "Site name" field, enter a name for your connection, and then, at the bottom, select OK.
  7. Select Login.
    Note:
    The first time you connect to Sitehost, you will be asked to verify the server. Select Yes.

Error messages

If, when attempting to transfer files to Sitehost, you encounter an error message similar to the following, you may have reached your Sitehost disk space quota:

Received SSH2_MSG_CHANNEL_DATA for nonexistent channel 0

Error message

Received unexpected packet in response to authentication request, type 132272 (unknown)
Authentication log (see session log for details):
Using username <username>
Authorized users only.
Authentication failed.

Error message

For details on disk space storage quotas, see Sitehost, Pages, and MySQL disk space quotas.

This is document ayed in the Knowledge Base.
Last modified on 2023-08-02 15:58:08.