<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: BASH SSH host completion</title>
	<atom:link href="http://blog.zerodogg.org/2007/04/21/bash-ssh-host-completion/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zerodogg.org/2007/04/21/bash-ssh-host-completion/</link>
	<description>Geeky comments on geeky things</description>
	<lastBuildDate>Wed, 06 Apr 2011 13:50:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: demerphq</title>
		<link>http://blog.zerodogg.org/2007/04/21/bash-ssh-host-completion/comment-page-1/#comment-54803</link>
		<dc:creator>demerphq</dc:creator>
		<pubDate>Sat, 03 Jan 2009 15:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zerodogg.org/?p=74#comment-54803</guid>
		<description>One more time, with the angle brackets replaced or escaped:

complete -C &quot;perl -le&#039;\$p=qq#^\$ARGV[1]#;@ARGV=q#$HOME/.ssh/config#;/\$p/&amp;&amp;/^\D/&amp;&amp;not(/[*?]/)&amp;&amp;print for map{split/\s+/}grep{s/^\s*Host(?:Name)?\s+//i}&lt;&gt;&#039;&quot; ssh</description>
		<content:encoded><![CDATA[<p>One more time, with the angle brackets replaced or escaped:</p>
<p>complete -C &#8220;perl -le&#8217;\$p=qq#^\$ARGV[1]#;@ARGV=q#$HOME/.ssh/config#;/\$p/&amp;&amp;/^\D/&amp;&amp;not(/[*?]/)&amp;&amp;print for map{split/\s+/}grep{s/^\s*Host(?:Name)?\s+//i}&lt;&gt;&#8217;&#8221; ssh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hpavc</title>
		<link>http://blog.zerodogg.org/2007/04/21/bash-ssh-host-completion/comment-page-1/#comment-42412</link>
		<dc:creator>hpavc</dc:creator>
		<pubDate>Tue, 13 May 2008 05:44:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zerodogg.org/?p=74#comment-42412</guid>
		<description>Obviously you need non-hashed hostnames in /etc/ssh/ssh_config and change HashKnownHosts to No</description>
		<content:encoded><![CDATA[<p>Obviously you need non-hashed hostnames in /etc/ssh/ssh_config and change HashKnownHosts to No</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zero_Dogg</title>
		<link>http://blog.zerodogg.org/2007/04/21/bash-ssh-host-completion/comment-page-1/#comment-11519</link>
		<dc:creator>Zero_Dogg</dc:creator>
		<pubDate>Tue, 15 May 2007 13:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zerodogg.org/?p=74#comment-11519</guid>
		<description>ssh space then tab should work. If it works before using this then you don&#039;t need this :), this is mostly if it doesn&#039;t work.

Perhaps some of the quotes got messed up.

Also, this completion only completes host from ~/.ssh/config - not /etc/hosts</description>
		<content:encoded><![CDATA[<p>ssh space then tab should work. If it works before using this then you don&#8217;t need this :), this is mostly if it doesn&#8217;t work.</p>
<p>Perhaps some of the quotes got messed up.</p>
<p>Also, this completion only completes host from ~/.ssh/config &#8211; not /etc/hosts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cronus</title>
		<link>http://blog.zerodogg.org/2007/04/21/bash-ssh-host-completion/comment-page-1/#comment-11476</link>
		<dc:creator>Cronus</dc:creator>
		<pubDate>Mon, 14 May 2007 14:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zerodogg.org/?p=74#comment-11476</guid>
		<description>This doesn&#039;t work for me. it doesn&#039;t do anything when I press tab. However before I use this command it does work. NB. the quotes are wrong for c/p because they&#039;re fancy unicode.</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t work for me. it doesn&#8217;t do anything when I press tab. However before I use this command it does work. NB. the quotes are wrong for c/p because they&#8217;re fancy unicode.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

