Transferring files while using two factor authentication

It's possible to transfer files almost as "normal" when using two factor authentication. This works because the system has a grace period during which new connections for the same user from the same connecting host do not need to provide two factor authentication again if it has been given recently.

So, to transfer files using when the system ask for two factor:

  • log into UPPMAX with ssh - the system will require two factor. You do not need to stay connected, it's fine to log out
  • without undue delay; run the file transfer tool (typically rsync/scp/sftp) you want to use. It should connect without issue.