Skip to content
Snippets Groups Projects
Commit 8ea61535 authored by Jan Frenzel's avatar Jan Frenzel
Browse files

Merge branch 'issue-194' into 'preview'

Solved issue-194. Added missing information regarding usage of SSH config for...

Closes #194

See merge request !385
parents 29aafac0 f7007b15
No related branches found
No related tags found
3 merge requests!412Manual attempt to merge preview into main,!402Solved issue-194. Added missing information regarding usage of SSH config for...,!385Solved issue-194. Added missing information regarding usage of SSH config for...
......@@ -88,6 +88,7 @@ in it (you can omit lines starting with `#`):
```bash
Host taurus
#For login (shell access)
HostName taurus.hrsk.tu-dresden.de
#Put your ZIH-Login after keyword "User":
User marie
......@@ -98,6 +99,15 @@ Host taurus
#Enable X11 forwarding for graphical applications and compression. You don't need parameter -X and -C when invoking ssh then.
ForwardX11 yes
Compression yes
Host taurusexport
#For copying data without shell access
HostName taurusexport.hrsk.tu-dresden.de
#Put your ZIH-Login after keyword "User":
User marie
#Path to private key:
IdentityFile ~/.ssh/id_ed25519
#Don't try other keys if you have more:
IdentitiesOnly yes
```
Afterwards, you can connect to the ZIH system using:
......@@ -106,6 +116,9 @@ Afterwards, you can connect to the ZIH system using:
marie@local$ ssh taurus
```
If you want to copy data from/to ZIH systems, please refer to [Export Nodes: Transfer Data to/from
ZIH's Filesystems](../data_transfer/export_nodes.md) for more information on export nodes.
### X11-Forwarding
If you plan to use an application with graphical user interface (GUI), you need to enable
......
......@@ -12,7 +12,11 @@ The export nodes are reachable under the hostname `taurusexport.hrsk.tu-dresden.
## Access From Linux
There are at least three tool to exchange data between your local workstation and ZIH systems. All
are explained in the following abstract in more detail.
are explained in the following section in more detail.
!!! important
The following explanations require that you have already set up your [SSH configuration
](../access/ssh_login.md#configuring-default-parameters-for-ssh).
### SCP
......@@ -22,20 +26,20 @@ in a directory, the option `-r` has to be specified.
??? example "Example: Copy a file from your workstation to ZIH systems"
```console
marie@local$ scp <file> <zih-user>@taurusexport.hrsk.tu-dresden.de:<target-location>
```bash
marie@local$ scp <file> taurusexport:<target-location>
# Add -r to copy whole directory
marie@local$ scp -r <directory> <zih-user>@taurusexport.hrsk.tu-dresden.de:<target-location>
marie@local$ scp -r <directory> taurusexport:<target-location>
```
??? example "Example: Copy a file from ZIH systems to your workstation"
```console
marie@login$ scp <zih-user>@taurusexport.hrsk.tu-dresden.de:<file> <target-location>
marie@login$ scp taurusexport:<file> <target-location>
# Add -r to copy whole directory
marie@login$ scp -r <zih-user>@taurusexport.hrsk.tu-dresden.de:<directory> <target-location>
marie@login$ scp -r taurusexport:<directory> <target-location>
```
### SFTP
......@@ -48,7 +52,7 @@ use compression to increase performance.
```console
# Enter virtual command line
marie@local$ sftp <zih-user>@taurusexport.hrsk.tu-dresden.de
marie@local$ sftp taurusexport
# Exit virtual command line
sftp> exit
# or
......@@ -63,7 +67,7 @@ from this virtual command line, then you have to prefix the command with the let
??? example "Example: Copy a file from your workstation to ZIH systems"
```console
marie@local$ sftp <zih-user>@taurusexport.hrsk.tu-dresden.de
marie@local$ sftp taurusexport
# Copy file
sftp> put <file>
# Copy directory
......@@ -73,7 +77,7 @@ from this virtual command line, then you have to prefix the command with the let
??? example "Example: Copy a file from ZIH systems to your local workstation"
```console
marie@local$ sftp <zih-user>@taurusexport.hrsk.tu-dresden.de
marie@local$ sftp taurusexport
# Copy file
sftp> get <file>
# Copy directory
......@@ -95,18 +99,18 @@ the local machine.
```console
# Copy file
marie@local$ rsync <file> <zih-user>@taurusexport.hrsk.tu-dresden.de:<target-location>
marie@local$ rsync <file> taurusexport:<target-location>
# Copy directory
marie@local$ rsync -r <directory> <zih-user>@taurusexport.hrsk.tu-dresden.de:<target-location>
marie@local$ rsync -r <directory> taurusexport:<target-location>
```
??? example "Example: Copy a file from ZIH systems to your local workstation"
```console
# Copy file
marie@local$ rsync <zih-user>@taurusexport.hrsk.tu-dresden.de:<file> <target-location>
marie@local$ rsync taurusexport:<file> <target-location>
# Copy directory
marie@local$ rsync -r <zih-user>@taurusexport.hrsk.tu-dresden.de:<directory> <target-location>
marie@local$ rsync -r taurusexport:<directory> <target-location>
```
## Access From Windows
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment