<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>These things are far too hard &#187; keys</title>
	<atom:link href="http://leadingedgescripts.co.uk/tag/keys/feed/" rel="self" type="application/rss+xml" />
	<link>http://leadingedgescripts.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 16 Oct 2009 09:14:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>How To Convert Your Putty .ppk Private Key To A Normal SSH Key You Can Use On An Apple Mac</title>
		<link>http://leadingedgescripts.co.uk/server-administration/how-to-convert-your-putty-ppk-private-key-to-a-normal-ssh-key-you-can-use-on-an-apple-mac/</link>
		<comments>http://leadingedgescripts.co.uk/server-administration/how-to-convert-your-putty-ppk-private-key-to-a-normal-ssh-key-you-can-use-on-an-apple-mac/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 17:25:05 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Macs]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[keys]]></category>
		<category><![CDATA[ppk]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/wp/?p=3</guid>
		<description><![CDATA[Also, how to connect to a server using SSH on a Mac I spent ages trying to figure this out so that I could SSH onto my production hosting server from my iBook. Now that I know what was wrong, I can’t believe how long it took me to solve, because the answer is so [...]]]></description>
			<content:encoded><![CDATA[<h2>Also, how to connect to a server using SSH on a Mac</h2>
<p>I spent ages trying to figure this out so that I could SSH onto my production hosting server from my iBook. Now that I know what was wrong, I can’t believe how long it took me to solve, because the answer is so simple – but unfortunately I never found anything in Google that helped me, it was only pure luck and dogged perseverance that helped me figure this one out.</p>
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-4904188713812219";
/* 468x60, created 02/11/08 */
google_ad_slot = "9286450703";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
<p>I already knew that I could open an SSH connection on my Mac using Terminal, and I could SSH onto my production server from my XP pc using Putty with no problems.</p>
<p>So when I copied my .ppk Putty key from my PC to my Mac I expected to be able to type:</p>
<p><code>ssh -2 username@123.123.123.123 –i yourkey.ppk</code></p>
<p>from within Terminal and get straight onto my server with no questions asked.</p>
<p>But oh no! it’s not quite as easy as that – well these things never are, are they?</p>
<p>Let start with the very basics, you can find the Terminal program on your Macintosh in Applications -&gt; Utilities.</p>
<p>Open it and you have something resembling a Windows DOS prompt.</p>
<p>Now if you already have a .ppk file from your PC that you want to convert to use on your Mac you need to visit the Putty Website <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">www.chiark.greenend.org.uk/~sgtatham/putty/download.html</a> and download puttygen.exe (on your PC) now open it, and using the File menu, load your .ppk that you already use, and type in your pass phrase.</p>
<p>Now go to the Conversions menu and export the key as an OpenSSH key – hey presto – you now have a key file that will work on your Mac! Such a simple solution, yet that took me so long to figure out &#8230;</p>
<p>Anyway, now you just need to copy your new .ssh keyfile over to your home (~) directory on your Mac and set the permissions to 700 (chmod 700 yourkey.ssh).</p>
<p>Once you’ve done all that you can use the ssh command.</p>
<pre>				<code>
ssh -2 username@123.123.123.123 –i yourkey.ssh
				</code></pre>
<p>and you should be able to SSH onto your box as you would from your PC – amazing!</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/server-administration/how-to-convert-your-putty-ppk-private-key-to-a-normal-ssh-key-you-can-use-on-an-apple-mac/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
	</channel>
</rss>
