<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to CreatingKeyPair</title><link>https://sourceforge.net/p/kluster/wiki/CreatingKeyPair/</link><description>Recent changes to CreatingKeyPair</description><atom:link href="https://sourceforge.net/p/kluster/wiki/CreatingKeyPair/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 24 Mar 2013 00:14:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/kluster/wiki/CreatingKeyPair/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage CreatingKeyPair modified by Daniel Povey</title><link>https://sourceforge.net/p/kluster/wiki/CreatingKeyPair/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,4 +1,4 @@
-# Creating a Key Pair
+## Creating a Key Pair

 Amazon uses RSA public/private key pairs to regulate access to the instances you create.  When you ask Amazon create these key-pairs, it will give you the private key but will itself keep only the public key.  The public key is made available to the created instance via a special URL, and the instance's "init scripts" will retrieve the public key and put it in \[some user\]/.ssh/authorized_keys so that that you can log in as that user with the private key.  This user will be something like "root", "admin" or "ubuntu".  

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Povey</dc:creator><pubDate>Sun, 24 Mar 2013 00:14:43 -0000</pubDate><guid>https://sourceforge.netf69f295b70f6bbd1676413817f4f947fa30013b2</guid></item><item><title>WikiPage CreatingKeyPair modified by Daniel Povey</title><link>https://sourceforge.net/p/kluster/wiki/CreatingKeyPair/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -15,3 +15,4 @@

 Next: [Creating a Debian Linux Instance](CreatingInstance)
+Up: [Kluster Wiki](Home)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Povey</dc:creator><pubDate>Fri, 22 Mar 2013 03:30:02 -0000</pubDate><guid>https://sourceforge.net0bd8bdc9b3287fb944700d15f26461bb21eea182</guid></item><item><title>WikiPage CreatingKeyPair modified by Daniel Povey</title><link>https://sourceforge.net/p/kluster/wiki/CreatingKeyPair/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,6 +1,8 @@
 # Creating a Key Pair

-Amazon uses RSA public/private key pairs to regulate access to the instances you create.  When you ask Amazon create these key-pairs, it will give you the private key but will itself keep only the public key.  The public key is made available to the created instance via a special URL, and the instance's "init scripts" will put the public key in \[some user\]/.ssh/authorized_keys so that you can log in with the private key.  Different machine images will do this for different users; typically something like "root", "admin" or "ubuntu".  Type `kl-create-key mycluster`:
+Amazon uses RSA public/private key pairs to regulate access to the instances you create.  When you ask Amazon create these key-pairs, it will give you the private key but will itself keep only the public key.  The public key is made available to the created instance via a special URL, and the instance's "init scripts" will retrieve the public key and put it in \[some user\]/.ssh/authorized_keys so that that you can log in as that user with the private key.  This user will be something like "root", "admin" or "ubuntu".  
+
+Type `kl-create-key mycluster`:

     # kl-create-key mycluster
     bin/kl-create-key: creating key-pair with name mycluster, in ~/.ssh/mycluster.pem
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Povey</dc:creator><pubDate>Thu, 21 Mar 2013 04:42:53 -0000</pubDate><guid>https://sourceforge.netddd6f5a86eaa1dbfbada2b152161414f7c9d0c30</guid></item><item><title>WikiPage CreatingKeyPair modified by Daniel Povey</title><link>https://sourceforge.net/p/kluster/wiki/CreatingKeyPair/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="creating-a-key-pair"&gt;Creating a Key Pair&lt;/h1&gt;
&lt;p&gt;Amazon uses RSA public/private key pairs to regulate access to the instances you create.  When you ask Amazon create these key-pairs, it will give you the private key but will itself keep only the public key.  The public key is made available to the created instance via a special URL, and the instance's "init scripts" will put the public key in [some user]/.ssh/authorized_keys so that you can log in with the private key.  Different machine images will do this for different users; typically something like "root", "admin" or "ubuntu".  Type &lt;code&gt;kl-create-key mycluster&lt;/code&gt;:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="c"&gt;# kl-create-key mycluster&lt;/span&gt;
&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;kl&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;create&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;creating&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;pair&lt;/span&gt; &lt;span class="n"&gt;with&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="n"&gt;mycluster&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="o"&gt;~/&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ssh&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mycluster&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pem&lt;/span&gt;
&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;kl&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;create&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;creating&lt;/span&gt; &lt;span class="n"&gt;public&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="o"&gt;~/&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ssh&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mycluster&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pub&lt;/span&gt;
&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;kl&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;create&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;done&lt;/span&gt; &lt;span class="n"&gt;creating&lt;/span&gt; &lt;span class="n"&gt;ssh&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This script uses the command &lt;code&gt;ec2-create-keypair&lt;/code&gt; to create a keypair; it takes the private key from the output and puts it in your .ssh directory which is where ssh keys are customarily kept, and it also gets the public key (using ssh command-line tools) and stores it in your .ssh directory also, because we'll need it later.  If you want to delete this key from Amazon later, you can do so by typing:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;ec2&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;delete&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;keypair&lt;/span&gt; &lt;span class="n"&gt;mycluster&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Next: &lt;a class="" href="/p/kluster/wiki/CreatingInstance/"&gt;Creating a Debian Linux Instance&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Povey</dc:creator><pubDate>Wed, 20 Mar 2013 21:52:05 -0000</pubDate><guid>https://sourceforge.net9f5f31d563eb8b693e4b04030758bc15d6f2b29b</guid></item></channel></rss>