<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.delftsolutions.nl/index.php?action=history&amp;feed=atom&amp;title=Creating_a_VM_on_Hetzner</id>
	<title>Creating a VM on Hetzner - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.delftsolutions.nl/index.php?action=history&amp;feed=atom&amp;title=Creating_a_VM_on_Hetzner"/>
	<link rel="alternate" type="text/html" href="https://docs.delftsolutions.nl/index.php?title=Creating_a_VM_on_Hetzner&amp;action=history"/>
	<updated>2026-04-04T01:33:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://docs.delftsolutions.nl/index.php?title=Creating_a_VM_on_Hetzner&amp;diff=370&amp;oldid=prev</id>
		<title>Tannaz: Created page with &quot;== Creating a Virtual Server (VM) on Hetzner == === Step 1: Generate an RSA Key Pair === First, you need to create an RSA key pair to have a public key for your server. &gt;&gt; ssh-keygen -t rsa  === Step 2: Create an account on Hetzner to get access to their development cloud === === Step 3: Set Up a Virtual Server on Hetzner === Ensure you have access to create a virtual server on Hetzner. Follow the instructions in this article to create a cloud server on the Hetzner Cloud...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.delftsolutions.nl/index.php?title=Creating_a_VM_on_Hetzner&amp;diff=370&amp;oldid=prev"/>
		<updated>2024-07-04T13:15:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Creating a Virtual Server (VM) on Hetzner == === Step 1: Generate an RSA Key Pair === First, you need to create an RSA key pair to have a public key for your server. &amp;gt;&amp;gt; ssh-keygen -t rsa  === Step 2: Create an account on Hetzner to get access to their development cloud === === Step 3: Set Up a Virtual Server on Hetzner === Ensure you have access to create a virtual server on Hetzner. Follow the instructions in this article to create a cloud server on the Hetzner Cloud...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Creating a Virtual Server (VM) on Hetzner ==&lt;br /&gt;
=== Step 1: Generate an RSA Key Pair ===&lt;br /&gt;
First, you need to create an RSA key pair to have a public key for your server.&lt;br /&gt;
&amp;gt;&amp;gt; ssh-keygen -t rsa&lt;br /&gt;
&lt;br /&gt;
=== Step 2: Create an account on Hetzner to get access to their development cloud ===&lt;br /&gt;
=== Step 3: Set Up a Virtual Server on Hetzner ===&lt;br /&gt;
Ensure you have access to create a virtual server on Hetzner. Follow the instructions in this article to create a cloud server on the Hetzner Cloud Console: Creating a Server on Hetzner.&lt;br /&gt;
=== Step 4: Configure Your Server ===&lt;br /&gt;
You will likely need both IPv4 and IPv6 addresses for your VM, so make sure to configure both.&lt;br /&gt;
Choose the latest version of Debian as your operating system and complete the configuration based on your needs. Name the server properly using the format &amp;lt;your-name server&amp;gt;.dev.delftsolutions.nl, replacing &amp;lt;your-name&amp;gt; with your actual name server.&lt;br /&gt;
Once configured, purchase your virtual server. This will take you to the new virtual server page, where you can see both your IPv4 and IPv6 addresses.&lt;br /&gt;
=== Step 5: Update DNS Repository ===&lt;br /&gt;
Add your IPv4 and IPv6 addresses to the DNS-basic repository and create a merge request.&lt;br /&gt;
For the IPv6 make sure “/64” at the end is replaced by 1 just like other IPv6s in the script. And try to make the format like the other lines.&lt;br /&gt;
Make sure &lt;br /&gt;
=== Step 6: Generate a Fingerprint ===&lt;br /&gt;
Your VM will generate a fingerprint to recognize you. This fingerprint acts as a unique identifier for the server and is stored locally.&lt;br /&gt;
Use the following command to add the fingerprint to the DNS system:&lt;br /&gt;
&amp;gt;&amp;gt; ssh-keyscan -D &amp;lt;your-virtual-server-IPv4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command will generate a fingerprint that you need to add to the DNS-basic repository (make sure to remove any lines starting with a semicolon and replace the first IP to your name, again just like the other lines in there).&lt;br /&gt;
=== Step 7: Test Your Virtual Server ===&lt;br /&gt;
To ensure your virtual server is working correctly, use these commands:&lt;br /&gt;
&amp;gt;&amp;gt; dig @ns1.delftsolutions.nl.&lt;br /&gt;
&amp;gt;&amp;gt; dig &amp;lt;your-name-server&amp;gt; @ns1.delftsolutions.nl.&lt;br /&gt;
&amp;gt;&amp;gt; dig &amp;lt;your-name-server&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These commands will verify if your name server is functioning properly and if you have access to ns1.delftsolutions.nl. But these commands are fun to do, they are not necessary :)&lt;br /&gt;
=== Step 8: SSH into Your Virtual Server === &lt;br /&gt;
Once everything is verified and functioning correctly, you can SSH into your virtual server using the following command:&lt;br /&gt;
&amp;gt;&amp;gt; ssh root@&amp;lt;your-name-server&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;your-name-server&amp;gt; with the actual name of your server, using root before your name server means you want to be root to make changes in your virtual server. &lt;br /&gt;
When it is your first time to get access to your virtual server it will ask you “Are you sure you want to continue connecting (yes/no/[fingerprint])?” and when you say yes, you will be permanently added to the host, and you need to enter the passphrase of your RSA key pair. &lt;br /&gt;
Then boom, you have your virtual server :)&lt;/div&gt;</summary>
		<author><name>Tannaz</name></author>
	</entry>
</feed>