Gunvor: Difference between revisions

From SESLINK Wiki
Jump to navigation Jump to search
Line 5: Line 5:


'''SSH port:''' 222
'''SSH port:''' 222
====Software====
Gunvor runs Ubuntu Server 16.04 LTS.


=== Accessing Gunvor ===
=== Accessing Gunvor ===

Revision as of 14:54, 29 March 2017

What is Gunvor?

Gunvor is the new server for SRC. It's a 2017 Dell PowerEdge R430.

Hostname: gunvor.stockholmresilience.su.se

SSH port: 222

Accessing Gunvor

Gunvor is primarily accessed via SSH. Ask Ingo or Emma to add a user for you. You will need to provide a public key to log in to your account. If you need help with generating such a key, please take a look at this tutorial from DigitalOcean.

Once you've created such a key and have had it added to your account, you can use it to log in to Gunvor. This procedure varies depending on the operating system you use.

Logging in from MacOS X or Linux

The easiest way to log in to Gunvor from MacOS X or Linux is to use the ssh command:

   ssh -P 222 USERNAME@gunvor.stockholmresilience.su.se

You will of course have to replace USERNAME with your username on Gunvor (you were given this when you received your account).

The above code will automatically grab your default SSH key, and use that to log you in to Gunvor. You can log out again by entering the command exit, or pressing Ctrl+D. All commands you enter before exit/Ctrl+D will be executed on Gunvor, as opposed to your local machine.

If you also want to have access to the R Studio Server running on Gunvor, you will need to open a local tunnel. This is easily done by adding a command line parameter to the command:

   ssh -P 222 -L 8787:8787 USERNAME@gunvor.stockholmresilience.su.se

This will log you in to Gunvor as above, but with an added, encrypted, tunnel between your computer's port 8787 and Gunvor's port 8787. While you're connected to Gunvor, you will be able to use R Studio Server by pointing your web browser to http://localhost:8787.

Logging in from Windows

For Windows the easiest way to access Gunvor is to use the program PuTTY.

When starting PuTTY, you will see this screen:

   TODO

In the field marked Host Name (or IP address), enter gunvor.stockholmresilience.su.se, and in the field marked Port, enter 222. You should then see this:

   TODO

You will also need to provide an key for the session. This is done by clicking Connection in the tree list to the left, and then selecting the SSH option. Under SSH there's an option called Auth. Click that, and then the Browse... button next to the text box labeled Private key file for authentication. Use the file browser to select your private key (usually ends with .ppk). You should then see something akin to this:

   TODO

Once done, click the Session text in the tree view to the left. If you want to save this session (and not have to do this setup again) please fill out a name in the textbox marked Saved Sessions and click the Save button. You should then see something similar to this:

   TODO

Once this is done, click the Open button at the bottom of the window. If you saved your session, you can double-click it in the list of sessions to connect.

If you also want to use R Studio Server, you will need to add a tunnel. You can do this by navigating the tree menu on the left to Connections > SSH > Tunnels. Fill out the information like the picture below:

   TODO

Afterwards, you can of course go back to the main page and save your session as before. You can now in to Gunvor as above, but with an added, encrypted, tunnel between your computer's port 8787 and Gunvor's port 8787. While you're connected to Gunvor, you will be able to use R Studio Server by pointing your web browser to http://localhost:8787.

Specifications

Dell service tag: 5Q2Q7J2

Specs

Software

Gunvor runs Ubuntu Server 16.04 LTS.

The core packages include: