<?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>FamousPhil.com Admin Blog and More &#187; ssh</title>
	<atom:link href="http://famousphil.com/blog/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://famousphil.com</link>
	<description>My Personal Blog</description>
	<lastBuildDate>Tue, 08 May 2012 03:26:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Using Putty Keys for Password-less logins</title>
		<link>http://famousphil.com/blog/2011/01/using-putty-keys-for-password-less-logins/</link>
		<comments>http://famousphil.com/blog/2011/01/using-putty-keys-for-password-less-logins/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 17:14:38 +0000</pubDate>
		<dc:creator>Famous Phil</dc:creator>
				<category><![CDATA[Hosting / Server Administration]]></category>
		<category><![CDATA[keys]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[passwordless login]]></category>
		<category><![CDATA[ppk]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[puttygen]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://famousphil.com/?p=621</guid>
		<description><![CDATA[Phil does a video blog that describes various features of putty, an ssh client.]]></description>
			<content:encoded><![CDATA[<p>I was too lazy to take screenshots so I decided to attempt a video blog.  Hopefully future video blogs will be shorter <img src='http://famousphil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Content:</p>
<div id="_mcePaste">OpenSSH Key Generation</div>
<div id="_mcePaste">Converting an OpenSSH Private Key to a Putty Key (ppk)</div>
<div id="_mcePaste">Creating a key using puttygen to login to a remote ssh server</div>
<div id="_mcePaste">enabling a keep alive for your ssh session</div>
<div id="_mcePaste">changing keyboard mappings for BSD systems</div>
<div id="_mcePaste">How to do x11 tunneling</div>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/Fatbs4eTdJE" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/Fatbs4eTdJE"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://famousphil.com/blog/2011/01/using-putty-keys-for-password-less-logins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Public Key Authentication to work in SSH</title>
		<link>http://famousphil.com/blog/2010/02/getting-public-key-authentication-to-work-in-ssh/</link>
		<comments>http://famousphil.com/blog/2010/02/getting-public-key-authentication-to-work-in-ssh/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 05:51:12 +0000</pubDate>
		<dc:creator>Famous Phil</dc:creator>
				<category><![CDATA[Hosting / Server Administration]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://famousphil.com/?p=403</guid>
		<description><![CDATA[Phil discusses the use of SSH public and private keys for passwordless authentication to remote linux computers.]]></description>
			<content:encoded><![CDATA[<p>This post is going to be short, sweet, and to the point <img src='http://famousphil.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />   It seems that every time I build a new server, I&#8217;m constantly at a loss for memorizing the commands that generate public keys in SSH (Secure Shell).  SSH for the computer illiterate is the Linux equivalent to Windows Telnet Services.  This basically gives you a command prompt that is running on a remote computer.</p>
<p>SSH is the heart and soul of linux based computers because *everything* can be done through the command line simply.  Unfortunately, Windows is just starting to catch up with Telnet using a new application called powershell.  Powershell is very unlike the linux command line though since it is more a scripting language than a command based language.  This is why I always scratch my head when working with Microsoft Exchange Server&#8217;s Powershell commands and end up reverting to the famous Microsoft graphical administration interface which gives me the option of &#8220;next next next finish&#8221;.  I really do appreciate the Microsoft wizards that make software so easy to administer.  Anyways, Linux never started with a graphical desktop (Unlike Windows and Macintosh), therefore, the command line in linux is far easier to use when administering a system.</p>
<p>To get back to my original topic, I am a fan of passwordless entry into my own systems.  With linux and SSH, there are a few authentication methods, 1 being password entry, and 2 being public key authentication.  With a password login, you basically enter a username and password and you are logged into a command prompt on linux.</p>
<p>With public key authentication, you generate 2 keys at your local computer, one being a private key and the other being a public key.  Basically, you give the server you wish to connect to the public key, and only you hold onto the private key.  When you connect to the server, it will first give you the public key so that you can verify that the server is actually the server that you want to connect to.  This will be ignored on the first connect, but in the future, if this key changes, you will be notified that the server was possibly compromised.  Upon allowing the connection, you will give the server your private key and it will run some calculations on the key you provided.  If the result matches that of the server&#8217;s public key, you will be granted access.  Since keys are generally 256 hexadecimal characters long, these are much more secure than normal passwords, and they are generally much easier to use (unless your laptop is stolen).</p>
<p>So now onto how to actually use these keys:</p>
<p>1. Generate the key on your local machine (not the remote machine).<br />
<strong>A. ssh-keygen -t rsa<br />
</strong>2. Verify that your remote server has an ~/.ssh directory.  ~ in linux is the home directory.<br />
3. Copy the local public key to the server<br />
A. This can be done with: <strong>scp ~/.ssh/id_rsa.pub user@remote_server:~/.ssh/authorized_keys2</strong><br />
B. Notice I specified authorized_keys2&#8230; this is actually for SSH Protocol 2 which is a more secure SSH protocol than the original.<br />
C. scp is secure copy in linux and it copies files between computers using SSH tunnels.<br />
4. Attempt to ssh into your remote machine.  It should not need a password anymore.<br />
A. <strong>ssh user@remote_server</strong></p>
<p>Hopefully this helps make sense of SSH keys.</p>
<p><strong>Afterthought on 2/4/10:<br />
</strong>when using the scp command as a copy / paste above, this will overwrite your authorized_keys2 file on the remote computer.  To prevent this from happening, append to the file using this command (thanks Cris for pointing this out to me):</p>
<p><strong>cat </strong><strong>~/.ssh/id_rsa.pub</strong><strong><em></em> | </strong><strong>user@remote_server</strong><strong> &#8220;cat >> <em></em></strong><strong>~/.ssh/authorized_keys2</strong><strong><em></em>&#8220;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://famousphil.com/blog/2010/02/getting-public-key-authentication-to-work-in-ssh/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Full/Partial RSS Feeds (Partial Rant) and SSH Readers</title>
		<link>http://famousphil.com/blog/2009/04/fullpartial-rss-feeds-partial-rant-and-ssh-readers/</link>
		<comments>http://famousphil.com/blog/2009/04/fullpartial-rss-feeds-partial-rant-and-ssh-readers/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 21:03:35 +0000</pubDate>
		<dc:creator>Famous Phil</dc:creator>
				<category><![CDATA[Hosting / Server Administration]]></category>
		<category><![CDATA[Mobile Technology]]></category>
		<category><![CDATA[My Site]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[description]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[full]]></category>
		<category><![CDATA[newsbeuter]]></category>
		<category><![CDATA[partial]]></category>
		<category><![CDATA[pico]]></category>
		<category><![CDATA[pine]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[snownews]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://famousphil.com/blog/?p=89</guid>
		<description><![CDATA[Phil talks about types of RSS feeds and how to read them.]]></description>
			<content:encoded><![CDATA[<p>The other night, I was working on installing a new RSS feed reader that is similar to <a href="http://reader.google.com">Google Reader</a>.  I first found out about Google Reader from a friend (Chris) here at my University over a lunch.  I then looked at it and discovered that it is much better than going to each and every blog site and reading the posts on each blog directly.  This reader basically gathers all of the full text blogs and puts them in an email interface format, making it extremely easy and painless to read a bunch of RSS feeds while on the go (for me, on my windows mobile smart phone on the bus going to class or during dinner when I&#8217;m too lazy to get up and return to my room).</p>
<p>Anyways, I am not a real fan of using everything Google when I have an alternative that runs in ssh and doesn&#8217;t require an additional login (or saved password).  I found 2 alternatives that run in ssh, one is <a href="http://kiza.kcore.de/software/snownews/">snownews </a>and the other is <a href="http://www.newsbeuter.org/">newsbeuter</a>.  Both of these programs are extremely simple and do exactly what google reader does, but they run in the SSH window like Pine or Pico does (Pine is an ssh email client, and pico is an ssh text editor).  Snownews is not really good at reading rss feeds because it looks at the description tag of RSS 2.0 feeds which only puts a brief outline of the feed on the screen.  <strong>Newsbeuter is much better and places the full content of a post on your screen like Google Reader does.</strong></p>
<p>So, what does newsbeuter look like?</p>
<p>Here is the Main Screen, a main listing from a single rss feed, and a single blog post from an rss feed:
<a href='http://famousphil.com/blog/2009/04/fullpartial-rss-feeds-partial-rant-and-ssh-readers/newsbeuterlist/' title='newsbeuterlist'><img width="150" height="150" src="http://famousphil.com/wp-content/uploads/2009/04/newsbeuterlist-150x150.jpg" class="attachment-thumbnail" alt="newsbeuterlist" title="newsbeuterlist" /></a>
<a href='http://famousphil.com/blog/2009/04/fullpartial-rss-feeds-partial-rant-and-ssh-readers/mainnewsbeuter/' title='mainnewsbeuter'><img width="150" height="150" src="http://famousphil.com/wp-content/uploads/2009/04/mainnewsbeuter-150x150.jpg" class="attachment-thumbnail" alt="mainnewsbeuter" title="mainnewsbeuter" /></a>
<a href='http://famousphil.com/blog/2009/04/fullpartial-rss-feeds-partial-rant-and-ssh-readers/newsbeuterarticle/' title='newsbeuterarticle'><img width="150" height="150" src="http://famousphil.com/wp-content/uploads/2009/04/newsbeuterarticle-150x150.jpg" class="attachment-thumbnail" alt="newsbeuterarticle" title="newsbeuterarticle" /></a>
<br />
Newsbeuter is a great program, I&#8217;m willing to put up with no images, videos, and sometimes some gargled text to save time.  As you probably know, I use public keys for ssh and and to get to this reader from my pine email takes a matter of seconds and no mouse movement.  I&#8217;m slowly working on getting my instant mesengers to ssh, however we will see if that ever materializes.</p>
<h2>So now onto my rant about partial vs full text feeds.</h2>
<p>When I was configuring newsbeuter, my main concern was, &#8220;would it read a full feed that is in the rss file, or would it just show the description cropped by [...] like snownews did&#8221;.  Because I compiled this on my server from source, I didn&#8217;t want to waste effort installing dependancies (a compiling problem) if it wouldn&#8217;t work in the end.</p>
<p><strong>Luckily, it did read full rss feeds, except for John&#8217;s blog.</strong> I asked John what was different about his blog, and he told me he turned off full text rss feeds.  His reasoning is, rss feeds make it very easy for someone else to post dynamic changing content on their own websites.  <strong>While I totally understand this concern, I really wonder if it will kill off readership to his site, which I know he might eventually want to make money off from some da</strong>y.   I know for sure that I want famousphil.com to eventually make money for itself although I&#8217;m still debating how to put ads on it without hurting the design (which will be changing in a month or two again to make it easier to read).</p>
<p>I have looked at several blogs debating rull text vs partial text feeds (they aren&#8217;t hard to find), including the following:</p>
<ol>
<li><a href="http://econsultancy.com/blog/018-rss-strategy-full-text-vs-partial-text-round-2">http://econsultancy.com/blog/018-rss-strategy-full-text-vs-partial-text-round-2</a></li>
<li>h<a href="ttp://jeremy.zawodny.com/blog/archives/004717.html ">ttp://jeremy.zawodny.com/blog/archives/004717.html.</a> Although this site says the problem was fixed, I think it grabs my true feelings about partial feeds</li>
<li><a href="http://www.readwriteweb.com/archives/cartoon_partial_text_rss_feeds.php">http://www.readwriteweb.com/archives/cartoon_partial_text_rss_feeds.php</a> &#8220;So nowadays those sites only get my attention when the teaser looks absolutely irresistible &#8212; and that&#8217;s a bar that&#8217;s high and rising.&#8221;  Thats how I feel (although I have yet to move many of my favorite feeds into newsbeuter.</li>
</ol>
<p>For me, I will probably keep his blog on my feed list and look at his teasers.  I will probably not actually read any more than his teasers though (mostly because I don&#8217;t have time to go look at these other sites that feel too smart to post a full feed).  I don&#8217;t use other people&#8217;s content for my blogs normally without citing then adding significant material onto their blogs, therefore, I don&#8217;t consider myself a blog theif either.  I do however visit other sites if I feel like leaving a comment <img src='http://famousphil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Finally, with wordpress, if you use a &#8220;more&#8221; tag, this material will not show up on your blog feed.  I will likely begin using this a bit (only after my site becomes eye friendly) because I do have long blogs and sometimes that material is an aid, but not necessary to know everything about my blog.  If people want to read the aiding material, then they can then visit my site.</p>
<p>As for this blog, always expect a full feed, if there isn&#8217;t one, I will do everything I can to help.  Comments are appreciated as always <img src='http://famousphil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   If you host with me, feel free to use these programs I mentioned as they are installed on the main server <img src='http://famousphil.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://famousphil.com/blog/2009/04/fullpartial-rss-feeds-partial-rant-and-ssh-readers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ExpanDrive &#8212; SSH File Transfer to Windows Network Drive</title>
		<link>http://famousphil.com/blog/2009/04/expandrive-ssh-file-transfer-to-windows-network-drive/</link>
		<comments>http://famousphil.com/blog/2009/04/expandrive-ssh-file-transfer-to-windows-network-drive/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 16:09:13 +0000</pubDate>
		<dc:creator>Famous Phil</dc:creator>
				<category><![CDATA[Hosting / Server Administration]]></category>
		<category><![CDATA[My Site]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[expandrive]]></category>
		<category><![CDATA[file transfer]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[sftpdrive]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://famousphil.com/blog/?p=68</guid>
		<description><![CDATA[You can purchase expandrive at: http://expandrive.com
I bought sftpdrive (the old name) about 8 months now after looking for a solution to hot edit php files on my web server so I could effectively develop remotely while having the local development feel.  Shortly after I got this program, I shared it with John, who then shared [...]]]></description>
			<content:encoded><![CDATA[<p>You can purchase expandrive at: <a href="http://expandrive.com">http://expandrive.com</a></p>
<p>I bought sftpdrive (the old name) about 8 months now after looking for a solution to hot edit php files on my web server so I could effectively develop remotely while having the local development feel.  Shortly after I got this program, I shared it with John, who then shared it with Jordan who recently blogged about it <a href="http://www.jordandelozier.com/2009/04/expandrive-to-mount-ssh-accounts/comment-page-1/#comment-940">here</a>.</p>
<p>I will leave the screenshots to Jordan, but I have never had a problem with this program.  I now use it for all of my development needs and it has never failed me.  The best part is that this program is easy, many programs that interface windows to linux are not easy!</p>
<p>So thats my pitch for expandrive <img src='http://famousphil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Hopefully they can make a few more hundred bucks off from this blog <img src='http://famousphil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://famousphil.com/blog/2009/04/expandrive-ssh-file-transfer-to-windows-network-drive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: famousphil.com @ 2012-05-23 09:16:15 by W3 Total Cache -->
