Uppsala Multidisciplinary Center for Advanced Computational Science

Using the UPPMAX gateway (DEPRACATED)

This service is now deprecated and connections to our log in servers are permitted from the entire internet when using two factor authentication. See the article Setting up two factor authentication for more details.

If the machine you're trying to connect to isn't one of those, you won't be allowed to log in to UPPMAX "normally", but you should stil lbe able to connect using our gateway machine available at gateway.uppmax.uu.se. (For an alternative approach, you can investigate if your home institution offers some kind of VPN service, UPPMAX have no means of providing this for our users.)

To use it, you connect with your user as you would normally, but use the hostname gateway.uppmax.uu.se instead of the machine you ultimately want to connect to.

If you're using password authentication, you need to allow the method "keyboard-interactive" (which should be the default for most ssh clients). Connect as normally and after you've entered your password, you should see

Welcome to UPPMAX!
 
You should have received a one time password via e-mail. Please use
it to verify your connection below. Once you've done so, you can 
continue logging in to UPPMAX by giving your password two times.
 
See google-authenticator for a way to set up one time passwords so
you won't need to wait for these mails.
 
(note; this service may not be fully operational yet.)
One-time password (OATH) for `myusername': 

As it says, you should receive a mail with a code. Using this code, you can get through and will be able to connect to our system tintin (and will be asked for the password again to connect).

If you want to work on another system than tintin (e.g. milou), you can go there by doing ssh milou.

In the case of key authentication, the system will keep track of the address you're connecting from and require you to verify access whenever you connect from a new address.

File transfers

NB: File transfers using the gateways is not supported by UPPMAX.

The easiest way to get files to/from UPPMAX when using the gateway may be to login to UPPMAX first and running the copy commands from there. This requires that you can reach and login to the other end from UPPMAX with standard utilities (e.g. ssh, scp).

Another possibility (depending on the actual files) may be to set up a webexport, see the webexport guide for more information.

Direct file transfers are some what difficult via the gateway and requires setting up public key based login and running an authentication agent. https://web.archive.org/web/20141225182657/http://www.balabit.com/sites/default/files/documents/scb-3.4-guides/en/scb-v3.4-guide-admin/html/chapter-scp-agent-forwarding.html have some idea on how to do file transfers if that is done.

Another option is using a third party service (such as Box.com that you can access from UPPMAX). This can be done with a utility such as cadaver:

$ cadaver https://dav.box.com/dav/

If you authenticate with you Box.com credentials you should be able to access (upload/download) your account.
$  cadaver https://dav.box.com/dav/
Authentication required for dav.box.com on server `dav.box.com':
Username: username_at_box@example.com
Password: 
dav:/dav/> ls
Listing collection `/dav/': succeeded.
Coll:   Test                                8192  Aug 18  2012
Myfile                      181227713  Jun 25  2013
dav:/dav/> help
Available commands: 
ls         cd         pwd        put        get        mget       mput       
edit       less       mkcol      cat        delete     rmcol      copy       
move       lock       unlock     discover   steal      showlocks  version    
checkin    checkout   uncheckout history    label      propnames  chexec     
propget    propdel    propset    search     set        open       close      
echo       quit       unset      lcd        lls        lpwd       logout     
help       describe   about      
Aliases: rm=delete, mkdir=mkcol, mv=move, cp=copy, more=less, quit=exit=bye
dav:/dav/>  put core.9974
Uploading core.9974 to `/dav/core.9974':
Progress: [=============================>] 100.0% of 12288 bytes succeeded.
dav:/dav/> quit
Connection to `dav.box.com' closed.

 

As with a "normal" command based file transfer client, you can use put/get to upload/download files.