<?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>Your Catchphrase Here! &#187; gnome</title>
	<atom:link href="http://blog.christopherschultz.net/index.php/tag/gnome/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.christopherschultz.net</link>
	<description>Rantings of a Lunatic</description>
	<lastBuildDate>Tue, 30 Nov 2010 20:37:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Disabling Password-less SSH Connections</title>
		<link>http://blog.christopherschultz.net/index.php/2008/06/10/disabling-password-less-ssh-connections/</link>
		<comments>http://blog.christopherschultz.net/index.php/2008/06/10/disabling-password-less-ssh-connections/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 13:57:55 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[agent]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[keyring]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.christopherschultz.net/?p=52</guid>
		<description><![CDATA[I use Ubuntu on a server I use for software development over a VNC session. This is how I learned to do Java software development way back in 2000 at one of my first jobs, and the habit stuck. I recently upgraded to Ubuntu 8.04 LTS (via a completely straightforward and painless upgrade process, I [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://www.ubuntu.com/">Ubuntu</a> on a server I use for software development over a <a href="http://en.wikipedia.org/wiki/Vnc">VNC</a> session. This is how I learned to do Java software development way back in 2000 at one of my first jobs, and the habit stuck. I recently upgraded to Ubuntu 8.04 LTS (via a completely straightforward and painless upgrade process, I might add) and noticed that something strange was happening: after entering my ssh key password once in a session, I was not asked for it again. <em>Ever</em>.</p>
<p>I leave myself logged into this machine for months at a time, and I never lock it. The only locking you might consider is that I disconnect from the VNC session and re-connecting requires a password. However, I have access to some sensitive information for my job and I&#8217;m a little leery when I&#8217;m allowed access to things unchallenged.</p>
<p>First, I thought something really fishy was going on, until I started reading man pages and doing a little digging. I found out about ssh-agent (which I had previously never heard of, since I&#8217;m usually using command-line-only interfaces) which did not appear to be running. Oddly enough, using ssh-add to flush all cached keys <em>did</em> work, so I was certain that the ssh-agent was lurking somewhere &#8212; I just hadn&#8217;t found it, yet.</p>
<p>Finally, today, I got fed up and apparently entered the magic phrase into Google. The reason I couldn&#8217;t see it running is because the process is gnome-keyring-daemon, not ssh-agent or *agent* or even *ssh*, which makes it tough to find if you don&#8217;t know that it&#8217;s a gnome component that is performing this service. I found the answer in the <a href="http://live.gnome.org/GnomeKeyring/Ssh">Gnome Keyring SSH Agent</a> page on the <a href="http://live.gnome.org/">Gnome Live</a> website. Instructions for disabling ssh key caching are on the page <a href="http://live.gnome.org/GnomeKeyring/Ssh#head-cc8120d1f36ed2ead8e6bd04808494768ae73682">here</a>.</p>
<p>One thing they missed is that you can use gconf-editor to tweak the value indicated in the gconftool-2 instructions. Also, you can change the behavior of a running Gnome system by doing a &#8216;kill -HUP&#8217; on the existing gnome-keyring-daemon process, and then re-starting it with the &#8216;&#8211;components&#8217; that you want (i.e. removing the &#8216;ssh&#8217; service).</p>
<p>Now, I get to enter my password every time I make an ssh connection, just as it should be ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christopherschultz.net/index.php/2008/06/10/disabling-password-less-ssh-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

