<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://teaching.healthtech.dtu.dk/22126/index.php?action=history&amp;feed=atom&amp;title=Logging_on_to_Cloud_system</id>
	<title>Logging on to Cloud system - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://teaching.healthtech.dtu.dk/22126/index.php?action=history&amp;feed=atom&amp;title=Logging_on_to_Cloud_system"/>
	<link rel="alternate" type="text/html" href="https://teaching.healthtech.dtu.dk/22126/index.php?title=Logging_on_to_Cloud_system&amp;action=history"/>
	<updated>2026-05-01T15:44:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://teaching.healthtech.dtu.dk/22126/index.php?title=Logging_on_to_Cloud_system&amp;diff=73&amp;oldid=prev</id>
		<title>WikiSysop: Created page with &quot; &lt;HR&gt;  &lt;H2&gt;Overview&lt;/H2&gt;  In this exercise, we will prepare our computers to log on to our very own cloud system on Computerome. This is done via a Virtual Private Network (VPN).  &lt;HR&gt;  &lt;H3&gt;Student accounts&lt;/H3&gt;  &lt;p&gt;To be able to perform the exercises and project you will need an account to log in to the cloud computers. Open the [https://docs.google.com/spreadsheets/d/1TAj59JQurp6ene6kOlrug9mRJSHpdsIS8U6KKvkcLN0/edit?usp=sharing google doc], find student id and determin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://teaching.healthtech.dtu.dk/22126/index.php?title=Logging_on_to_Cloud_system&amp;diff=73&amp;oldid=prev"/>
		<updated>2024-03-19T16:04:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; &amp;lt;HR&amp;gt;  &amp;lt;H2&amp;gt;Overview&amp;lt;/H2&amp;gt;  In this exercise, we will prepare our computers to log on to our very own cloud system on Computerome. This is done via a Virtual Private Network (VPN).  &amp;lt;HR&amp;gt;  &amp;lt;H3&amp;gt;Student accounts&amp;lt;/H3&amp;gt;  &amp;lt;p&amp;gt;To be able to perform the exercises and project you will need an account to log in to the cloud computers. Open the [https://docs.google.com/spreadsheets/d/1TAj59JQurp6ene6kOlrug9mRJSHpdsIS8U6KKvkcLN0/edit?usp=sharing google doc], find student id and determin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;lt;HR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H2&amp;gt;Overview&amp;lt;/H2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this exercise, we will prepare our computers to log on to our very own cloud system on Computerome. This is done via a Virtual Private Network (VPN).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;HR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H3&amp;gt;Student accounts&amp;lt;/H3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;To be able to perform the exercises and project you will need an account to log in to the cloud computers. Open the&lt;br /&gt;
[https://docs.google.com/spreadsheets/d/1TAj59JQurp6ene6kOlrug9mRJSHpdsIS8U6KKvkcLN0/edit?usp=sharing google doc], find student id and determine which server you need to use. This will be your server that you must use for the rest of the course.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H4&amp;gt;User ID/username&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your cloud &amp;lt;b&amp;gt;username&amp;lt;/b&amp;gt; or &amp;#039;&amp;#039;&amp;#039;user ID&amp;#039;&amp;#039;&amp;#039; is one entered in the &amp;#039;&amp;#039;&amp;#039;username&amp;#039;&amp;#039;&amp;#039; column (ex: s123456).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H4&amp;gt;IP address&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are the IP addresses:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;server&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;IP&amp;#039;&amp;#039;&amp;#039;    &lt;br /&gt;
|-&lt;br /&gt;
| server1&lt;br /&gt;
| 192.168.63.58&lt;br /&gt;
|-&lt;br /&gt;
| server2&lt;br /&gt;
| 192.168.63.59&lt;br /&gt;
|-&lt;br /&gt;
| server3&lt;br /&gt;
| 192.168.63.62&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H4&amp;gt;Password&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The password is initially the &amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039; as the DTU one. &amp;lt;b&amp;gt; Remember: If you lose the password we can not help you! Check with DTU.&amp;lt;/b&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;H4&amp;gt;2 factor authentication&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will be prompted for a 2-factor authentication code. If you have not set it up with AIT, go to: https://account.activedirectory.windowsazure.com/proofup.aspx?proofup=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H2&amp;gt;Setting up your own computer/laptop&amp;lt;/H2&amp;gt;&lt;br /&gt;
Make sure you are connected to the internet.&amp;lt;br&amp;gt;&lt;br /&gt;
Video: [https://video.dtu.dk/media/22126-1-VPNCloud/0_xvdqq6v6 How to download and install VPN. How to connect to the Metagenomic cloud servers].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H3&amp;gt;Windows computer&amp;lt;/H3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H4&amp;gt;VPN client&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, install an OpenVPN client. Download the necessary configuration file for our course cloud servers [https://teaching.healthtech.dtu.dk/material/22126/pfSense_DTU-UDP4-1195-metagenomic-02-config.ovpn here] and the VPN client program [https://openvpn.net/community-downloads/ here]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H4&amp;gt;Terminal&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Secondly, install MobaXterm. Download [https://mobaxterm.mobatek.net/download.html here]&lt;br /&gt;
Once installed you must create an &amp;#039;&amp;#039;&amp;#039;ssh session&amp;#039;&amp;#039;&amp;#039; in Mobaxterm and log on to your cloud server (Look at the Google docs depending on user ID and use the IP above). &amp;#039;&amp;#039;&amp;#039;If you cannot seem to access the servers, you might need to run the OpenVPN client as administrator&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;HR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H3&amp;gt;Mac computer&amp;lt;/H3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H4&amp;gt;VPN client&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download Tunnelblick (the stable version):&lt;br /&gt;
https://tunnelblick.net/downloads.html&lt;br /&gt;
&lt;br /&gt;
Direct download link:&lt;br /&gt;
https://tunnelblick.net/release/Tunnelblick_3.7.9a_build_5321.dmg&lt;br /&gt;
&lt;br /&gt;
Download the configuration file: [https://teaching.healthtech.dtu.dk/material/22126/pfSense_DTU-UDP4-1195-metagenomic-02-config.ovpn here]&lt;br /&gt;
&lt;br /&gt;
Put the file in a directory of your own choice&lt;br /&gt;
&lt;br /&gt;
Right-click on the file. &lt;br /&gt;
Choose &amp;quot;open with&amp;quot; --&amp;gt; &amp;quot;TunnelBlick&amp;quot; &lt;br /&gt;
Or&lt;br /&gt;
Choose &amp;quot;open with&amp;quot; --&amp;gt; &amp;quot;Other..&amp;quot; &lt;br /&gt;
Chosse &amp;quot;Enable: All Apllications&amp;quot;&lt;br /&gt;
Click on &amp;quot;TunnelBlick&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Click on the TunnelBlick sign in the top bar of your computer (the same bar that shows your WiFi/Battery/Clock)&lt;br /&gt;
Choose &amp;quot;Connect Cloud_590&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now you should have acces to the Cloud.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H4&amp;gt;Terminal&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open your terminal. It is located in: /Applications/Utilities. Or search for &amp;quot;Terminal&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Depending on the server you will be using (see the google sheet), write:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh -XC [USER ID]@[ID ADDRESS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
replace the [USER ID] with the username you have been assigned to and [ID ADDRESS] is the IP of your server (see above).&lt;br /&gt;
&lt;br /&gt;
Enter the password..&lt;br /&gt;
&amp;lt;p&amp;gt;Open the &amp;quot;XQuartz&amp;quot; and &amp;quot;Terminal&amp;quot; in the &amp;quot;Applications/Utilities&amp;quot; folder. You can close the window that the XQuartz program opens, but leave the program running in the background. If you dont have XQuartz installed you can install&lt;br /&gt;
it from [https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg here].&lt;br /&gt;
In the terminal write the command below and enter your password when asked for it. Depending on what you have installed you may have to install &amp;quot;Developer Tools&amp;quot; from Apple. You can also install the program &amp;quot;iTerm2&amp;quot; which is a very neat terminal.&amp;lt;br&amp;gt; &lt;br /&gt;
Log on to your cloud server using ssh and your cloud username (studXXX) and password (see above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;HR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H3&amp;gt;Ubuntu/Linux&amp;lt;/H3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H4&amp;gt;VPN client&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Ubuntu, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install openvpn&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for other releases, please see the following: [https://openvpn.net/vpn-software-packages/ VPN Software Repository &amp;amp; Packages]. The config file is [https://teaching.healthtech.dtu.dk/material/22126/pfSense_DTU-UDP4-1195-metagenomic-02-config.ovpn here]. Then write:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo openvpn pfSense_DTU-UDP4-1195-metagenomic-02-config.ovpn&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;H4&amp;gt;Terminal&amp;lt;/H4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open your terminal and ssh using:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh -XC [USER ID]@[ID ADDRESS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>