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
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.
36
36
@@ -44,6 +44,22 @@ To copy an entire directory instead of just a file, please use the **–r** opti
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
+
47
63
### Windows Using *WinSCP*
48
64
49
65
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
81
97
You will be prompted to authenticate with **LoginTC** (you will need to type **1**) and both your **Pub** and **Trixie** passwords
82
98
1. Once you are logged into your session, you can drag and drop the files you need to transfer between the two file listings
83
99
84
-
#### Internal Users
100
+
#### Internal Users - From the SRN Network
85
101
86
102
If you need to install **WinSCP** then please install it from the **NRC Software Portal** on your desktop.
87
103
@@ -105,6 +121,39 @@ First you will need to configure **WinSCP** to connect to Trixie. Open **WinSCP*
105
121
You will be prompted to authenticate with your **Trixie** password
106
122
1. Once you are logged into your session, you can drag and drop the files you need to transfer between the two file listings
107
123
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
+

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
+

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
+

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
+

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
+
108
157
### Windows Using the *pscp* Command From Putty
109
158
110
159
To copy a file to the Trixie server, please use the **pscp** command on your local machine.
0 commit comments