@@ -54,43 +54,42 @@ tags:
54
54
55
55
## Procedure
56
56
57
+ <!-- markdownlint-disable MD013 --> <!-- Let's break 80 characters per line -->
58
+
59
+
57
60
In the terminal, run ` sftp ` to connect to a cluster by doing:
58
61
59
62
``` bash
60
63
sftp < username> @< cluster address>
61
64
```
62
65
63
- In ` sftp ` session, upload/download files to/from the server.
66
+ In ` sftp ` session, go to right folders and upload/download files to/from the server. You can do this as long as the connection is active!
64
67
65
- - `` put <filename> `` - Copy a file from the local computer to the remote host
66
- - `` get <filename> `` - Copy a file from the remote host to the local computer
68
+ - `` pwd/cd/ls `` - browse and list files in server file system
69
+ - `` lpwd/lcd/lls `` - browse and list files in server file system
70
+ - `` put <filename> `` - Copy a file ** from the local** computer to the remote host
71
+ - `` get <filename> `` - Copy a file ** from the remote** host to the local computer
67
72
68
73
!!! tip
69
74
70
75
- We use `<content>` to tell that this should be replaced by applicable names or paths etcetera...
71
76
- We use ``[content]`` to tell that this argument is not necessary
72
77
- Run the scp commands on YOUR computer, since you probably do not have a server address to your computer!
73
78
74
- ???- example "Example for Rackham "
79
+ ???- example "Example for Tetralith "
75
80
76
81
Connect to SFTP session
77
82
78
- In the terminal, run `sftp` to connect to Rackham by doing:
79
-
80
- ```bash
81
- sftp <username>@rackham.uppmax.uu.se
82
- ```
83
-
84
- where `<username>` is your UPPMAX username, for example:
83
+ In the terminal, run `sftp` to connect to Tetralith by doing:
85
84
86
85
```bash
87
-
86
+
88
87
```
89
88
90
89
If asked, give your center's password.
91
90
You can get rid of this prompt if you have setup SSH keys
92
91
93
- Upload/download files to/from Rackham
92
+ Upload/download files to/from Tetralith
94
93
95
94
In `sftp` session, upload/download files to/from the server.
96
95
@@ -123,14 +122,11 @@ In `sftp` session, upload/download files to/from the server.
123
122
124
123
## Exercises
125
124
126
- <!-- markdownlint-disable MD013 --> <!-- Tables cannot be split up over lines, hence will break 80 characters per line -->
127
-
128
125
??? question "Use the documentation of your HPC cluster"
129
126
130
127
- Search for how to transfer files to/from your HPC cluster using `scp`. Which URL is it described?
131
128
- Tip: not all HPC centers have documented this, so you *should* give up searching after a while.
132
- - If the center maintaining you HPC cluster has not documented how to use
133
- ` sftp ` , follow [ the Rackham documentation] ( https://docs.uppmax.uu.se/software/rackham_file_transfer_using_sftp ) .
129
+ - If the center maintaining you HPC cluster has not documented how to use `sftp`, follow [the Rackham documentation](https://docs.uppmax.uu.se/software/rackham_file_transfer_using_sftp).
134
130
135
131
<!-- markdownlint-disable MD013 --> <!-- Tables cannot be split up over lines, hence will break 80 characters per line -->
136
132
0 commit comments