Skip to content

Commit cdad3ad

Browse files
committed
Docs: Adding new legacy instructions for file transfer
1 parent b3b603a commit cdad3ad

File tree

1 file changed

+51
-2
lines changed

1 file changed

+51
-2
lines changed

docs/File-Transfers.md

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To copy an entire directory instead of just a file, please use the **–r** opti
3030

3131
``scp –r myWorkFilesDir trixie:/home/ext.john.doe``
3232

33-
#### Internal Users
33+
#### Internal Users - From the SRN Network
3434

3535
The following command will copy the file ``test.txt`` from John Doe’s local machine to his account on Trixie. Please note that the example assumes the username on Trixie is different than the username on the local machine.
3636

@@ -44,6 +44,22 @@ To copy an entire directory instead of just a file, please use the **–r** opti
4444

4545
``scp –r myWorkFilesDir [email protected]:/home/doej``
4646

47+
#### Internal Users - From the Legacy Network
48+
49+
Please note that the use of this method requires that your system be configured as detailed in the [advanced configuration](External-Access-Advanced-Configuration.md) in order to provide a direct link between your local machine and the Trixie server.
50+
51+
The following command will copy the file ``test.txt`` from John Doe’s local machine to his account on Trixie. Please note that using **trixie** as the hostname will only work if you have configured SSH to use **ProxyJump** as detailed in the [advanced configuration](External-Access-Advanced-Configuration.md).
52+
53+
``scp test.txt trixie:/home/doej``
54+
55+
To copy a file from Trixie to your local machine, you basically reverse the arguments to the **scp** command.
56+
57+
``scp trixie:/home/doej/test.txt test.txt``
58+
59+
To copy an entire directory instead of just a file, please use the **–r** option (for recursive) to the **scp** command.
60+
61+
``scp –r myWorkFilesDir trixie:/home/doej``
62+
4763
### Windows Using *WinSCP*
4864

4965
To copy a file to the Trixie server, please use the **WinSCP** command on your local machine.
@@ -81,7 +97,7 @@ First you will need to configure **WinSCP** to connect to Trixie using an SSH tu
8197
You will be prompted to authenticate with **LoginTC** (you will need to type **1**) and both your **Pub** and **Trixie** passwords
8298
1. Once you are logged into your session, you can drag and drop the files you need to transfer between the two file listings
8399

84-
#### Internal Users
100+
#### Internal Users - From the SRN Network
85101

86102
If you need to install **WinSCP** then please install it from the **NRC Software Portal** on your desktop.
87103

@@ -105,6 +121,39 @@ First you will need to configure **WinSCP** to connect to Trixie. Open **WinSCP*
105121
You will be prompted to authenticate with your **Trixie** password
106122
1. Once you are logged into your session, you can drag and drop the files you need to transfer between the two file listings
107123

124+
#### Internal Users - From the Legacy Legacy
125+
126+
If you need to install **WinSCP** then please download and install it from [this site](https://winscp.net/eng/download.php)
127+
128+
First you will need to configure **WinSCP** to connect to Trixie using an SSH tunnel. Open **WinSCP** and follow the procedure below to configure it to access Trixie via an SSH tunnel.
129+
130+
1. Click the **New Session** button<br>
131+
![winscp-1](images/trixie-winscp-1.png)
132+
1. In the window that pops up, perform the following
133+
1. Make sure the **File protocol** is set to *SCP*
134+
1. Set the **Host name**: *trixie.res.nrc.gc.ca*
135+
1. Set the **User name**: *<ext.firstname.lastname\>*<br>
136+
The window should now look similar to the following<br>
137+
![winscp-2](images/trixie-winscp-2.png)
138+
1. Click the **Advanced** button
139+
1. In the window that pops up, perform the following
140+
1. Click the **Tunnel** item in the left pane
141+
1. Select the **Connect through SSH tunnel** option
142+
1. Set **Host name**: *trixie.nrc-cnrc.gc.ca*
143+
1. Set **User name**: *<username\>@pub.nrc-cnrc.gc.ca*<br>
144+
The window should now look similar to the following<br>
145+
![winscp-3](images/trixie-winscp-3.png)
146+
1. Click the **OK** button
147+
1. Click the **Save** button in the previous popup window
148+
1. In the window that pops up, perform the following
149+
1. Type in a **Site name** - perhaps *Trixie*<br>
150+
The window should now look similar to the following<br>
151+
![winscp-4](images/trixie-winscp-4.png)
152+
1. Click the **OK** button
153+
1. Click the **Login** button in the previous popup window<br>
154+
You will be prompted to authenticate with **LoginTC** (you will need to type **1**) and both your **Pub** and **Trixie** passwords
155+
1. Once you are logged into your session, you can drag and drop the files you need to transfer between the two file listings
156+
108157
### Windows Using the *pscp* Command From Putty
109158

110159
To copy a file to the Trixie server, please use the **pscp** command on your local machine.

0 commit comments

Comments
 (0)