Skip to content
Snippets Groups Projects
Commit 7f10ef08 authored by Marina Popleteeva's avatar Marina Popleteeva
Browse files

Replase RSA SSH key, remove AsperaWeb, remove CLI

parent d643e420
No related branches found
No related tags found
2 merge requests!417Add new how-to card "LFT",!415[release] Regular merge of develop
Pipeline #63292 passed with warnings
......@@ -13,7 +13,7 @@ redirect_from:
## Overview
LCSB file transfer (LFT) is provided by IBM Aspera software deployed at the LCSB-University of Luxembourg. AsperaWEB supports end-to-end encrypted data transfer and can handle high data volumes e.g. several tera bytes.
LCSB File Transfer (LFT) is a tool developed at LCSB based on IBM Aspera software. LFT supports end-to-end encrypted data transfer and can handle high data volumes e.g. several tera bytes.
## Obtaining a LFT access link
......@@ -48,7 +48,7 @@ In the following steps we provide instructions on how to use LFT web interface.
![Alt](img/lft_fileBrowser.png "File Browser")
4. Clicking **Upload** or **Download** icons will launch the **IBM Aspera Connect** client on your computer. You first will be asked whether you allow the client to connect to aspera.lcsb.uni.lu. Choose **Allow**.
4. Clicking **Upload** or **Download** icons will launch the **IBM Aspera Connect** client on your computer. You first will be asked whether you allow the client to connect to a server. Choose **Allow**.
> Note: to download file/folder you need to select it first.
5. At any time you can launch **IBM Aspera Connect** to display the status of uploads to or downloads from your computer. <br/>
......@@ -73,28 +73,24 @@ Encrypted files are by default kept on your disc after decryption. If you want t
In the following steps we provide instructions on how to use LFT command line.
1. To access LFT via command line you need to have Aspera CLI (Command Line Interface) be installed. It should be preinstalled during installation of **IBM Aspera Connect** client (see step 2 above). Or you can download it manually: go on the [IBM website](https://www.ibm.com/products/aspera/downloads?list) and click on the "download now" under the Section "IBM Aspera CLI".
1. To access LFT via command line you need to have Aspera Connect be installed (see step 2 above).
2. To transfer data you need to authenticate your connection. Authentication is done via SSH for which you need **SSH private key**. That key comes with the Aspera Connect installation and is named `asperaweb_id_dsa.openssh`. You need to know the location of SSH private key. Please see the table below for the list of locations depanding on your operational system:
2. To transfer data you need to authenticate your connection. Authentication is done via SSH for which you need **SSH private key**. That key comes with the Aspera Connect installation and is named `aspera_tokenauth_id_rsa`. You need to know the location of SSH private key. Please see the table below for the list of locations depanding on your operational system:
| Environment | Location | Alternate location |
|-|-|-|
| MacOS | `$HOME/Applications/Aspera\ Connect.app/Contents/Resources/asperaweb_id_dsa.openssh` | `/Applications/Aspera\ Connect.app/Contents/Resources/asperaweb_id_dsa.openssh` |
| Windows | `C:\\Program Files (x86)\Aspera\Aspera Connect\etc\asperaweb_id_dsa.openssh` |`C:\\Users\username\AppData\Local\Programs\Aspera\Aspera Connect\etc\asperaweb_id_dsa.openssh` |
| Linux | `$HOME/.aspera/connect/etc/asperaweb_id_dsa.openssh` | `/opt/aspera/etc/asperaweb_id_dsa.openssh` |
| Iris | `/opt/apps/resif/data/production/$PROD_VERSION/default/software/tools/Aspera-CLI/$CLI_VERSION/etc/asperaweb_id_dsa.openssh` | |
| MacOS | `$HOME/Applications/Aspera\ Connect.app/Contents/Resources/aspera_tokenauth_id_rsa` | `/Applications/Aspera\ Connect.app/Contents/Resources/aspera_tokenauth_id_rsa` |
| Windows | `C:\\Program Files (x86)\Aspera\Aspera Connect\etc\aspera_tokenauth_id_rsa` |`C:\\Users\username\AppData\Local\Programs\Aspera\Aspera Connect\etc\aspera_tokenauth_id_rsa` |
| Linux | `$HOME/.aspera/connect/etc/aspera_tokenauth_id_rsa` | `/opt/aspera/etc/aspera_tokenauth_id_rsa` |
| Iris | `/opt/apps/resif/data/production/$PROD_VERSION/default/software/tools/Aspera-CLI/$CLI_VERSION/etc/aspera_tokenauth_id_rsa` | |
3. Go to the help section of your access link.
![Alt](img/lft_help.png "Help section") <br/>
Navigate into Download or Upload tab.
And follow instructions there. Export variables and execute the command to download/upload data.
![Alt](img/lft_helpCommandLine.png "Help tabs") <br/>
Export variables as stated in Download/Upload tab of the help section and execute the command for download/upload data.
![Alt](img/lft_command.png "Help command") <br/><br/>
![Alt](img/lft_command.png "Help command line") <br/><br/>
<a name="LFT_TROUBLESHOOTING"></a>
## Troubleshooting
......@@ -117,12 +113,6 @@ Specifically your firewall should:
Detailed information on how to configure firewalls when working with Aspera is given [here](https://download.asperasoft.com/download/docs/p2p/3.5.1/p2p_admin_win/webhelp/dita/configuring_the_firewall.html).
### ** Command-line error: failed to authenticate**
Aspera Connect 4.2 no longer includes the required SSH private key (`asperaweb_id_dsa.openssh`).
Please follow [this guide](https://www.biostars.org/p/9528910/) to install older version of Aspera Connect.
### Command-Line error "command not found: ascp" ###
Run <code>ascli config ascp show</code> to show path of <code>ascp</code>.
......@@ -131,4 +121,4 @@ Modify command with the path instead of <code>ascp</code>.
Here is an example of download command
`<path-to-ascp-executable> -d -i $SSHKEY -P 33001 --file-crypt decrypt -W $TOKEN app_duma_private@aspera.lcsb.uni.lu:/<remote-dir> </local-dir>`
\ No newline at end of file
`<path-to-ascp-executable> -d -i $SSHKEY -P 33001 --file-crypt decrypt -W $TOKEN $ASPERA_USERNAME@aspera-hts-01-srv.lcsb.uni.lu:/<remote-dir> </local-dir>`
\ No newline at end of file
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