<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.kinguardproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=SSH_access_using_private%2Fpublic_key_pair</id>
	<title>SSH access using private/public key pair - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.kinguardproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=SSH_access_using_private%2Fpublic_key_pair"/>
	<link rel="alternate" type="text/html" href="https://www.kinguardproject.org/wiki/index.php?title=SSH_access_using_private/public_key_pair&amp;action=history"/>
	<updated>2026-04-16T13:10:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://www.kinguardproject.org/wiki/index.php?title=SSH_access_using_private/public_key_pair&amp;diff=32&amp;oldid=prev</id>
		<title>Pa: Created page</title>
		<link rel="alternate" type="text/html" href="https://www.kinguardproject.org/wiki/index.php?title=SSH_access_using_private/public_key_pair&amp;diff=32&amp;oldid=prev"/>
		<updated>2017-06-27T08:26:22Z</updated>

		<summary type="html">&lt;p&gt;Created page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Tutorials_and_How-tos| &amp;lt; Tutorials and How-tos]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After [[Access_your_unit_using_SSH|enabling SSH to your unit]] you can copy a public key in order to use private/public key authentication.&lt;br /&gt;
&lt;br /&gt;
If you already have a key that you want to use, skip the first step.&lt;br /&gt;
&lt;br /&gt;
1. Generate the key pair&lt;br /&gt;
 ssh-keygen -f kgp_rsa&lt;br /&gt;
Now you have two files, kgp_rsa which is your private key file and kgp_rsa.pub which is the public key file.&lt;br /&gt;
&lt;br /&gt;
2. Copy the public key file to the target, using the password provided in the email when enabling ssh&lt;br /&gt;
 ssh-copy-id -i kgp_rsa.pub root@your-target-hostname-or-ip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note that for OPI you can use your opi-name, or if you are on the same local network and your router have problems with accessing local resources on portforwards, you can use root@local.youropiname.op-i.me&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Pa</name></author>
	</entry>
</feed>