You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/External-Access-Advanced-Configuration.md
+34-27Lines changed: 34 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,19 @@
1
1
# Overview
2
2
3
-
To ease usage of the bastion host to easily connect to Trixie, there are some steps which can be taken, especially making use of the SSH **ProxyJump** and **ControlMaster** parameters. Basically, you need to configure SSH to automatically connect with the Trixie server using the bastion host as a connector between your local computer and the Trixie server.
3
+
To ease usage of the bastion host to easily connect to Trixie, there are some steps which can be
4
+
taken, especially making use of the SSH **ProxyJump** and **ControlMaster** parameters. Basically,
5
+
you need to configure SSH to automatically connect with the Trixie server using the bastion host as
6
+
a connector between your local computer and the Trixie server.
4
7
5
-
**Important Note:** Before proceeding with this configuration, please ensure that you have performed the [External Access Setup](External-Access-Setup.md) procedure.
8
+
**Important Note:** Before proceeding with this configuration, please ensure that you have
9
+
performed the [External Access Setup](External-Access-Setup.md) procedure.
6
10
7
11
# Mac OSX / Linux
8
12
9
-
To configure SSH to automatically connect to the Trixie server, please open your ``.ssh/config`` file with your preferred text editor and add the following lines on your local machine – not the servers – while substituting your given usernames in the **User** directive. You will also need to create the folder ``.ssh/sockets`` to complete the configuration.
13
+
To configure SSH to automatically connect to the Trixie server, please open your ``.ssh/config``
14
+
file with your preferred text editor and add the following lines on your local machine – not the
15
+
servers – while substituting your given usernames in the **User** directive. You will also need to
16
+
create the folder ``.ssh/sockets`` to complete the configuration.
10
17
11
18
```
12
19
Host trixie-bastion
@@ -21,44 +28,44 @@ Host trixie
21
28
ProxyJump trixie-bastion
22
29
```
23
30
24
-
Once your settings are configured, you will be able to login to the Trixie server with the following command
31
+
Once your settings are configured, you will be able to login to the Trixie server with the
32
+
following command
25
33
26
34
``ssh trixie``
27
35
28
36
Please note that you will be prompted as follows
29
37
30
38
1.*LoginTC* prompt – enter 1
31
-
2. Prompt for your **PUB** password
32
-
3. Prompt for your **RES** admin password
39
+
1. Prompt for your **PUB** password
40
+
1. Prompt for your **RES** admin password
33
41
34
42
# Windows – Putty
35
43
36
-
To configure SSH to automatically connect to the Trixie server, please set the following settings in your Putty application, substituting your username where applicable.
44
+
To configure SSH to automatically connect to the Trixie server, please set the following settings
45
+
in your Putty application, substituting your username where applicable.
37
46
38
47
1. Under **Connection -> SSH**
39
48
1. Set **Remote command**: ``ssh –A –Y admin.<firstname>.<lastname>@trixie.res.nrc.gc.ca``
40
-
2. Select the option **Share SSH connections if possible** – this will enable you to establish multiple connections to Trixie
41
-
42
-
</br>
43
-
2. Under **Connection -> SSH -> X11**
44
-
45
-
1. Select the option **Enable X11 forwarding**
46
-
47
-
</br>
48
-
3. Under **Session**
49
-
50
-
1. Set **Host Name (or IP address)**: *<firstname.lastname>`<span>`@pub.nrc-cnrc.gc.ca `<span>`@trixie.nrc-cnrc.gc.ca*
51
-
2. Set **Port**: *22*
52
-
3. Add a name for **Saved Sessions** – perhaps *Trixie*
53
-
54
-
</br>
55
-
4. Click **Save**
56
-
57
-
Once the settings have been saved, you can double click on the name in the list of **Saved Sessions** to open a session to the Trixie server. Please note that you will be prompted as follows
49
+
1. Select the option **Share SSH connections if possible** – this will enable you to
50
+
establish multiple connections to Trixie<br>
51
+
<br>
52
+
1. Under **Connection -> SSH -> X11**
53
+
1. Select the option **Enable X11 forwarding**<br>
54
+
<br>
55
+
1. Under **Session**
56
+
1. Set **Host Name (or IP address)**: *<firstname.lastname\>@pub.[email protected]*
57
+
1. Set **Port**: *22*
58
+
1. Add a name for **Saved Sessions** – perhaps *Trixie*<br>
59
+
<br>
60
+
1. Click **Save**
61
+
62
+
Once the settings have been saved, you can double click on the name in the list of
63
+
**Saved Sessions** to open a session to the Trixie server. Please note that you will be prompted as
0 commit comments