From de8c9f1ac38ba89bd2e8797828ad0de03a9455af Mon Sep 17 00:00:00 2001 From: Apurv Kulkarni <apurv.kulkarni@tu-dresden.de> Date: Thu, 21 Oct 2021 12:58:20 +0200 Subject: [PATCH] Solved issue-194. Added missing information regarding usage of SSH config for data transfer using export nodes in 'access/ssh_login' and 'data_transfer/export_nodes' --- doc.zih.tu-dresden.de/docs/access/ssh_login.md | 3 +++ .../docs/data_transfer/export_nodes.md | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/doc.zih.tu-dresden.de/docs/access/ssh_login.md b/doc.zih.tu-dresden.de/docs/access/ssh_login.md index 59e304f3a..1eb2dcb07 100644 --- a/doc.zih.tu-dresden.de/docs/access/ssh_login.md +++ b/doc.zih.tu-dresden.de/docs/access/ssh_login.md @@ -88,6 +88,7 @@ in it (you can omit lines starting with `#`): ```bash Host taurus + #Use either login node for shell access or export nodes for data transfer HostName taurus.hrsk.tu-dresden.de #Put your ZIH-Login after keyword "User": User marie @@ -105,6 +106,8 @@ Afterwards, you can connect to the ZIH system using: ```console marie@local$ ssh taurus ``` +!!!info + Please note that in above example login node `taurus.hrsk.tu-dresden.de` is used in configuration file to access shell in ZIH systems. SSH configuration file can also be used to perform data transfer from/to ZIH systems. An additional profile with same settings can be created. Simply replace login node in front of `HostName` with export node (eg. `taurusexport.hrsk.tu-dresden.de`) in the SSH configuration profile. 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 diff --git a/doc.zih.tu-dresden.de/docs/data_transfer/export_nodes.md b/doc.zih.tu-dresden.de/docs/data_transfer/export_nodes.md index 9ccba626f..9230a16a7 100644 --- a/doc.zih.tu-dresden.de/docs/data_transfer/export_nodes.md +++ b/doc.zih.tu-dresden.de/docs/data_transfer/export_nodes.md @@ -108,6 +108,24 @@ the local machine. # Copy directory marie@local$ rsync -r <zih-user>@taurusexport.hrsk.tu-dresden.de:<directory> <target-location> ``` +!!!info + User can also use SSH configuration file to transfer the data from/to the ZIH systems. Please refer to 'Connecting from Linux' section on [Connecting with SSH](../access/ssh_login.md) page for more information on how to create and use the SSH configuration file. In the newly created profile, simply replace values in front of `HostName` with name of the export node as shown below. + + ```bash + Host <configuration_profile_name> + # Use name of the export node after HostName + HostName taurusexport.hrsk.tu-dresden.de + [...] + ``` + Once the configuration is created, user can initiate transfer simply using any of the tools mentioned above. + + ```console + # Transfer from ZIH system to local machine + marie@local$ rsync -r <configuration_profile_name>:<directory_or_file> <target-location> + + # Transfer from local machine to ZIH system + marie@local$ rsync -r <configuration_profile_name>:<directory_or_file> <target-location> + ``` ## Access From Windows -- GitLab