Skip to content

Using lftp with Bianca

lftp is a command-line program to transfer files to/from Bianca.

Here, the procedure for file transfer is shown, as well as some troubleshooting.

Procedure

1. Get inside of SUNET

Get inside of SUNET.

2. Start lftp

lftp sftp://[user_name]-[project_id]@bianca-sftp.uppmax.uu.se/[user_name]-[project_id]/

where

For example:

lftp sftp://sven-sens2025560@bianca-sftp.uppmax.uu.se/sven-sens2025560/

You'll be asked to type a password.

3. Enter password with TOTP

When asked for a password, type the password followed with a one-time password from your UPPMAX two-factor authenticator.

I don't see asterisks appear when I type

Well spotted!

Indeed, you will not see the characters you type, which is common for Linux systems.

Just type the password and TOTP and press enter :-)

For example, if your password is VerySecret and the 2FA app gives you 123456, then type VerySecret123456.

Troubleshooting

You need to "set net:connection_limit 1". lftp may also defer the actual connection until it's really required unless you end your connect URL with a path.