Skip to content

Commit 2b66ead

Browse files
authored
sftp info hiding
1 parent accdfdb commit 2b66ead

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

docs/sessions/sftp/README.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,43 +54,42 @@ tags:
5454

5555
## Procedure
5656

57+
<!-- markdownlint-disable MD013 --><!-- Let's break 80 characters per line -->
58+
59+
5760
In the terminal, run `sftp` to connect to a cluster by doing:
5861

5962
```bash
6063
sftp <username>@<cluster address>
6164
```
6265

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!
6467

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
6772

6873
!!! tip
6974

7075
- We use `<content>` to tell that this should be replaced by applicable names or paths etcetera...
7176
- We use ``[content]`` to tell that this argument is not necessary
7277
- Run the scp commands on YOUR computer, since you probably do not have a server address to your computer!
7378

74-
???- example "Example for Rackham"
79+
???- example "Example for Tetralith"
7580

7681
Connect to SFTP session
7782

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:
8584

8685
```bash
87-
86+
8887
```
8988

9089
If asked, give your center's password.
9190
You can get rid of this prompt if you have setup SSH keys
9291

93-
Upload/download files to/from Rackham
92+
Upload/download files to/from Tetralith
9493

9594
In `sftp` session, upload/download files to/from the server.
9695

@@ -123,14 +122,11 @@ In `sftp` session, upload/download files to/from the server.
123122

124123
## Exercises
125124

126-
<!-- markdownlint-disable MD013 --><!-- Tables cannot be split up over lines, hence will break 80 characters per line -->
127-
128125
??? question "Use the documentation of your HPC cluster"
129126

130127
- Search for how to transfer files to/from your HPC cluster using `scp`. Which URL is it described?
131128
- 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).
134130

135131
<!-- markdownlint-disable MD013 --><!-- Tables cannot be split up over lines, hence will break 80 characters per line -->
136132

0 commit comments

Comments
 (0)