Use WinSCP to connect to IU Sitehosting

Use WinSCP to connect to IU Sitehosting

To log into your Sitehost account using the WinSCP client (an sFTP client for Windows, available from IUware):

  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, click Save and enter a site name.
  6. Click Login.
    Note:
    The first time you connect to IU Sitehosting, you will be asked to verify the server. Click Yes.

Back to top

Use SSH keys to connect to IU Sitehosting 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 IU Sitehosting.
  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, click 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, click Advanced.
  4. In the "Advanced Site Settings" window:
    1. Under SSH, click Authentication, and then click the at the end of the "Private key file" text field to find and select your private key.
    2. Under Environment, click 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. Click OK.
  5. In the "Login" window, on the right, under "User name", click 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, click OK.
  7. Click Login.
    Note:
    The first time you connect to IU Sitehosting, you will be asked to verify the server. Click Yes.

Back to top

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 (unkown)
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.

Back to top