Network Connectivity¶
This document indicates how users can connect to Trixie as well as other network information.
Accessing Trixie¶
The Trixie head node can be accessed from within NRC via SSH on NRC Legacy (black) and the Secure Research Netowrk (orange).
Trixie can also be accessed external to NRC using the Bastion host. Please see the
External Access Setup
link in the Related Topics section below
Outbound SSH Access to External Sites¶
The Trixie head node has outbound SSH access to a limited number of external sites (e.g. some Canadian Universities). If you require access to an additional site which is not currently available, create a request via our issues page
Cloning Git Projects¶
You can clone Git projects into your Trixie directory from several Git servers. The table below indicates the current servers and what type of access is enabled.
Git Server | SSH | HTTPS |
---|---|---|
gitlabc | Yes | Yes - requires access tokens |
git-collab | Broken | Yes - requires access tokens |
gitlab.res | Yes | Yes |
github | Yes | Yes |
Using Access Tokens for Gitlabc and Git-Collab¶
MFA is enforced on gitlabc and git-collab, which means you will not be able to pull using HTTPS the standard way. If you do not want to set up SSH keys and would like to pull using HTTPS, the following procedure describes the method for accessing these servers using HTTPS and an access token.
- Create an access token on gitlabc or git-collab
- Log in to your GitLab account
- Go to your Profile settings
- Go to Access tokens
- Choose a name and optionally an expiry date for the token
- Choose the desired scopes (api access)
- Click on Create personal access token
- Save the personal access token somewhere safe. Once you leave or refresh the page, you won't be able to access it again.
- Clone your Git project
git clone https://oauth2:PERSONAL_ACCESS_TOKEN@gitserver.nrc.gc.ca/namespace/projectname.git
- Replace
PERSONAL_ACCESS_TOKEN
with the token you have generated - Replace
gitserver
with eithergitlabc
orgit-collab
- Replace
namespace
with the appropriate group or personal name space - Replace
projectname
with the name of your project
- Replace