Skip to content

Connecting to FoodPort

To develop applications for FoodPort, you need to be able to connect to the CFIA network and be able to connect to FoodPort using an SSH client (e.g. PuTTY, or Visual Studio Code with an SSH extension). You'll also need a username and an RSA private key file which can be obtained by contacting Adam Koziol (adam.koziol@inspection.gc.ca).

Using a terminal

With a private key file id_rsa:

ssh -i id_rsa [username]@10.148.57.4

Using VS Code's Remote - SSH extension

  1. Install and enable VS Code's Remote - SSH extension.

  2. Click on the Remote Explorer icon in the toolbar on the left side of your VS Code window.

    Remote - SSH extension in VS Code's sidebar

  3. Add a new remote connection.

    Add new remote connection in VS Code

  4. Enter the SSH connection command (e.g. ssh -i id_rsa [username]@10.148.57.4), remembering to specify the absolute path to id_rsa on your system.

    Enter SSH connection command in VS Code

  5. Choose the SSH configuration file to update on your system.

    Choose SSH config file to update