Skip to content

Commit 9c9f97d

Browse files
committed
Docs: Fixed formatting of advanced external page
1 parent a3bc21c commit 9c9f97d

File tree

1 file changed

+34
-27
lines changed

1 file changed

+34
-27
lines changed

docs/External-Access-Advanced-Configuration.md

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
# Overview
22

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.
47

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.
610

711
# Mac OSX / Linux
812

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.
1017

1118
```
1219
Host trixie-bastion
@@ -21,44 +28,44 @@ Host trixie
2128
ProxyJump trixie-bastion
2229
```
2330

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
2533

2634
``ssh trixie``
2735

2836
Please note that you will be prompted as follows
2937

3038
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
3341

3442
# Windows – Putty
3543

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.
3746

3847
1. Under **Connection -> SSH**
3948
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-
![trixie putty](images/trixie-putty-1.png)</br>
43-
2. Under **Connection -> SSH -> X11**
44-
45-
1. Select the option **Enable X11 forwarding**
46-
47-
![putty](images/trixie-putty-2.png)</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-
![putty](images/trixie-putty-3.png)</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+
![trixie putty](images/trixie-putty-1.png)<br>
52+
1. Under **Connection -> SSH -> X11**
53+
1. Select the option **Enable X11 forwarding**<br>
54+
![putty](images/trixie-putty-2.png)<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+
![putty](images/trixie-putty-3.png)<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
64+
follows
5865

5966
1. *LoginTC* prompt – enter 1
60-
2. Prompt for your **PUB** password
61-
3. Prompt for your **RES** admin password
67+
1. Prompt for your **PUB** password
68+
1. Prompt for your **RES** admin password
6269

6370
# Related Topics
6471

0 commit comments

Comments
 (0)