<?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>ДАВАЙ-ДАВАЙ &#187; Terminal</title>
	<atom:link href="http://www.bueche.ch/wp/tag/terminal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bueche.ch/wp</link>
	<description>Insanely fast on carbon hulls and living without Microsoft since 1997</description>
	<lastBuildDate>Thu, 09 Sep 2010 06:19:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>efficient ssh using Quicksilver and Terminal</title>
		<link>http://www.bueche.ch/wp/2008/09/11/efficient-ssh-using-quicksilver-and-terminal/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=efficient-ssh-using-quicksilver-and-terminal</link>
		<comments>http://www.bueche.ch/wp/2008/09/11/efficient-ssh-using-quicksilver-and-terminal/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 19:50:51 +0000</pubDate>
		<dc:creator>sailor</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Quicksilver]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://www.bueche.ch/wp/?p=90</guid>
		<description><![CDATA[I commute from home to customers, and have a large set of remote servers I need to connect to using ssh. The normal way of starting Terminal.app, and typing &#8220;ssh user@host.sub.sub.domain.com&#8221; is OK, but when you have to do it 80 times a day, you quickly look for an efficient way of packing it in [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-93" title="picture-1" src="http://www.bueche.ch/wp/wp-content/uploads/2008/09/picture-1.png" alt="" width="181" height="167" />I commute from home to customers, and have a large set of remote servers I need to connect to using ssh. The normal way of starting Terminal.app, and typing &#8220;ssh user@host.sub.sub.domain.com&#8221; is OK, but when you have to do it 80 times a day, you quickly look for an efficient way of packing it in less keystrokes.</p>
<p><span id="more-90"></span></p>
<p>[For those not knowing Quicksilver, get it from <a href="http://code.google.com/p/blacktree-alchemy/downloads/list" target="_blank">here</a> and then <a href="http://lifehacker.com/search/quicksilver/" target="_blank">read that</a>. Warning : the current Google code version (alpha 3) is buggy, it needs the plugins from the previous alpha 2. Search the google forum, a new fixed release should be released soon.]</p>
<p>In its default configuration (with the appropriate Terminal plugin), Quicksilver allows to do it this way :</p>
<ul>
<li>invoke Quicksilver (usually CTRL-SPACE)</li>
<li>enter text mode (dot)</li>
<li>type &#8220;ssh user@host.sub.sub.domain.com&#8221;</li>
<li>TAB</li>
<li>Run a Text Command in Terminal</li>
<li>RETURN</li>
</ul>
<p>I don&#8217;t think it&#8217;s really shorter&#8230; now here is a nicer way :</p>
<p>On his <a href="http://blog.no-panic.at/2006/08/04/easily-access-a-ssh-connection-on-your-mac/" target="_blank">blog</a>, Florian Beer mention how to create ssh shortcuts, and place them in a location indexed by Spotlight or Launchbar. Here is how to do it with Quicksilver :</p>
<ul>
<li>create a location for your shortcuts (I used ~/Data/Connections/)</li>
<li>create your shortcuts (see below)</li>
<li>in Quicksilver, create a new Source in Custom Catalog to scan your shortcut location</li>
</ul>
<p>Usage :</p>
<ul>
<li>invoke Quicksilver</li>
<li>type your shortcut until it is selected</li>
<li>RETURN</li>
</ul>
<p>You can as well find your shortcut location in Quicksilver, you then get a menu of your shortcuts.</p>
<p><strong>Creating shortcuts</strong></p>
<p>Shortcuts are small XML files, and can be created with <a href="http://www.bueche.ch/download/make_new_connection.pl">this script</a> :</p>
<ul>
<li>download</li>
<li>save to your favorite script location</li>
<li>edit and set $shortcut_base if desired</li>
<li>chmod 0755 make_new_connection.pl</li>
<li>then use it once for each shortcut, pass 2 parameters (user and host)</li>
</ul>
<pre>   make_new_connection.pl user host</pre>
<p>It will create the shortcut in the correct location. Don&#8217;t forget to rescan the source in the Quicksilver catalog. After a while, the most used shortcuts will be reached quickly, due to the dynamic indexing of Quicksilver.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bueche.ch/wp/2008/09/11/efficient-ssh-using-quicksilver-and-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
