Creating an SFTP connection to the Cognos Analytics server

You can create an SFTP connection by using a command line or an SFTP client, such as FileZilla or WinSCP.

Before you begin

Your environment must be prepared in the following way:

  • The SFTP client is installed on your computer.
  • The SSH keys are generated. The public key file is shared with IBM and installed by IBM on the server, and the private key file is available to use in the connection.
Note: If your SFTP client is WinSCP, ensure that the PPK file version for the private key is set to 2. For more information, see Generating SSH keys on Windows.

Procedure

  1. If using the command line or terminal (for UNIX and Mac), use the following command to create the SFTP connection:
    sftp -i private-key-file sftpuser@upload.release url
    For example:
    sftp -i ~/.ssh/id_rsa sftpuser@upload.abc.ca.analytics.ibm.com
  2. On Windows, use the following steps in FileZilla:
    1. From the File menu, select Site Manager.
    2. Click New site, and specify the site name by overwriting the placeholder name.
    3. On the General tab, specify the following settings:
      Protocol
      Select SFTP-SSH File Transfer Protocol.
      Host
      Enter upload.environment_URL. For example, upload.abc.ca.analytics.ibm.com.
      Logon type
      Select Key file.
      User
      Enter sftpuser.
      Key file
      Browse for your private key file, and select it.
    4. Click Connect.
    If the connection is successful, in the Remote site panel, you can view the Cognos® Analytics upload directories.
    <user_sftp_root>
    dropbox
        certificates
        deployment
        fonts
        maps
        motio
        powercubes
        report-drivers
        webcontent

What to do next

Upload content into the directories. For more information, see Upload directories.