From 440c3a97eff545dd77d916347b470e12af5f40c7 Mon Sep 17 00:00:00 2001 From: Andy Turner Date: Thu, 16 Nov 2023 18:16:30 +0000 Subject: [PATCH] Adds note on issue with new SSH client --- docs/user-guide/data.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/user-guide/data.md b/docs/user-guide/data.md index 9edb90fb..90d1e8c2 100644 --- a/docs/user-guide/data.md +++ b/docs/user-guide/data.md @@ -392,11 +392,18 @@ the `source` should be the absolute path of the file/directory being copied or the command should be executed in the directory containing the source file/directory. +!!! tip + If your local version of OpenSSL (the library underlying `scp`) is + very new you may see errors transferring data to Cirrus using `scp` where the version + of OpenSSL is older. The errors typically look like + `scp: upload "mydata": path canonicalization failed`. You can get + around this issue by adding the `-O` option to `scp`. + If you want to request a different encryption algorithm add the `-c [algorithm-name]` flag to the `scp` options. For example, to use the -(usually faster) *arcfour* encryption algorithm you would use: +(usually faster) *aes128-ctr* encryption algorithm you would use: - scp [options] -c arcfour source user@login.cirrus.ac.uk:[destination] + scp [options] -c aes128-ctr source user@login.cirrus.ac.uk:[destination] (Remember to replace `user` with your Cirrus username in the example above.) @@ -429,7 +436,7 @@ source file/directory. Additional flags can be specified for the underlying `ssh` command by using a quoted string as the argument of the `-e` flag. e.g. - rsync [options] -e "ssh -c arcfour" source user@login.cirrus.ac.uk:[destination] + rsync [options] -e "ssh -c aes128-ctr" source user@login.cirrus.ac.uk:[destination] (Remember to replace `user` with your Cirrus username in the example above.)