<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="https://tanguy.ortolo.eu/blog/feed/rss/commentaires/" />
	<link>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent</link>
	<language>en</language>
	<description>a blog about Debian and self-hosting</description>
	<lastBuildDate>Tue, 21 Feb 2012 01:34:00 +0000</lastBuildDate>
	<generator>PluXml</generator>
	<item>
		<title>Opportunistic SSH agent - Written by Brownout @ tuesday 21 february 2012, 01:34</title> 
		<link>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329788059-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329788059-1</guid>
		<description>My bad, it does.
You need to tell it to manage the key via sshcontrol, otherwise it ignores it.</description>
		<pubDate>Tue, 21 Feb 2012 01:34:00 +0000</pubDate>
		<dc:creator>Brownout</dc:creator>
	</item>
	<item>
		<title>Opportunistic SSH agent - Written by Brownout @ tuesday 21 february 2012, 01:06</title> 
		<link>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329786375-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329786375-1</guid>
		<description>Regarding comment #3.
I don&amp;#039;t see how gpg-agent can perform opportunistic key loading, afaik you still need to run ssh-add manually.</description>
		<pubDate>Tue, 21 Feb 2012 01:06:00 +0000</pubDate>
		<dc:creator>Brownout</dc:creator>
	</item>
	<item>
		<title>Opportunistic SSH agent - Written by Marius Gedminas @ monday 20 february 2012, 23:18</title> 
		<link>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329779913-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329779913-1</guid>
		<description>I have a wrapper for the &amp;#039;ssh&amp;#039; command that adds keys opportunistically:

    $ cat ~/bin/ssh
    #!/bin/sh
    if [ -n &amp;quot;$SSH_AGENT_PID&amp;quot; ]; then
        # See if ssh-agent has any identities, and if not, add some
        ssh-add -l &amp;gt; /dev/null || ssh-add
    fi
    exec /usr/bin/ssh &amp;quot;$@&amp;quot;

and the same sort of thing for ~/bin/scp.  It works very well for me.</description>
		<pubDate>Mon, 20 Feb 2012 23:18:00 +0000</pubDate>
		<dc:creator>Marius Gedminas</dc:creator>
	</item>
	<item>
		<title>Opportunistic SSH agent - Written by Hyde @ monday 20 february 2012, 23:15</title> 
		<link>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329779714-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329779714-1</guid>
		<description>Keychain as mentioned above is really nice for that kind of things :)</description>
		<pubDate>Mon, 20 Feb 2012 23:15:00 +0000</pubDate>
		<dc:creator>Hyde</dc:creator>
	</item>
	<item>
		<title>Opportunistic SSH agent - Written by Tanguy @ monday 20 february 2012, 23:00</title> 
		<link>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329778840-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329778840-1</guid>
		<description>@Matt Palmer : Indeed, I experienced that too and it was kind of hard to understand. :-)</description>
		<pubDate>Mon, 20 Feb 2012 23:00:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
	<item>
		<title>Opportunistic SSH agent - Written by Matt Palmer @ monday 20 february 2012, 22:13</title> 
		<link>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329775989-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329775989-1</guid>
		<description>The problem with opportunistic key loading, however, is that if you have more keys than MaxAuthTries, you&amp;#039;ll get curious authentication failures, as I wrote about a couple of years ago:

http://www.anchor.com.au/blog/2009/12/error-ssh-agent-has-too-many-keys/

Dumb software that pretends to be smart: just say no.</description>
		<pubDate>Mon, 20 Feb 2012 22:13:00 +0000</pubDate>
		<dc:creator>Matt Palmer</dc:creator>
	</item>
	<item>
		<title>Opportunistic SSH agent - Written by Misc @ monday 20 february 2012, 18:42</title> 
		<link>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329763357-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329763357-1</guid>
		<description>IIRC, OS X also do this with launchd. But I just say that for completeness :)</description>
		<pubDate>Mon, 20 Feb 2012 18:42:00 +0000</pubDate>
		<dc:creator>Misc</dc:creator>
	</item>
	<item>
		<title>Opportunistic SSH agent - Written by -dsr- @ monday 20 february 2012, 17:47</title> 
		<link>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329760071-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article43/opportunistic-ssh-agent/#c1329760071-1</guid>
		<description>The keychain package provides a similar function for commandline logins.</description>
		<pubDate>Mon, 20 Feb 2012 17:47:00 +0000</pubDate>
		<dc:creator>-dsr-</dc:creator>
	</item>
		<title>Tanguy Ortolo - Opportunistic SSH agent - Comments</title> 
</channel>
</rss>