<?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>Taras Mankovski Blog &#187; Media Temple</title>
	<atom:link href="http://taras.cc/index.php/tag/media-temple/feed/" rel="self" type="application/rss+xml" />
	<link>http://taras.cc</link>
	<description>Building Beecoop and generaly making developer&#039;s lives easier and more productive.</description>
	<lastBuildDate>Wed, 25 Nov 2009 03:41:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Password-less SSH Login on Media Temple GS account</title>
		<link>http://taras.cc/index.php/2008/07/28/password-less-ssh-login-on-media-temple-gs-account/</link>
		<comments>http://taras.cc/index.php/2008/07/28/password-less-ssh-login-on-media-temple-gs-account/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 04:35:31 +0000</pubDate>
		<dc:creator>Taras</dc:creator>
				<category><![CDATA[Media Temple]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://taras.cc/?p=68</guid>
		<description><![CDATA[I&#8217;m really not sure why Media Temple support told me this is not possible to do, but it is.
I use Media Temple ssh 5-10 times a day, that&#8217;s why typing in
ssh serveradmin@positivesum.org@s43472.gridserver.com
and then entering password is way too slow.
There is a better way.
To login, I use 
ssh ps
ps &#8211; is acronym for positivesum.org
In this tutorial, I will explain to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m really not sure why Media Temple support told me this is not possible to do, but it is.</p>
<p>I use Media Temple ssh 5-10 times a day, that&#8217;s why typing in</p>
<p><strong>ssh serveradmin@positivesum.org@s43472.gridserver.com</strong></p>
<p>and then entering password is way too slow.</p>
<p>There is a better way.</p>
<p>To login, I use </p>
<p><strong>ssh ps</strong></p>
<p>ps &#8211; is acronym for positivesum.org</p>
<p>In this tutorial, I will explain to you how to set this up.<br />
<span id="more-68"></span><br />
First, I will address the the Password-less SSH login and then I will tell you how to setup the acronym.</p>
<h4>Password-less SSH Login</h4>
<ol>
<li>You need Public Key (run ssh-keygen if you haven&#8217;t already)</li>
<li>in your ~/.ssh folder you will have a id_rsa.pub</li>
<li>you need to copy this file to your mediatemple ssh<br />
<strong>scp ~/.ssh/id_rsa.pub serveradmin@yourdomain.com@yourdomain.com:~/.ssh </strong><br />
should do the trick</li>
<li>now ssh into your media temple<br />
<strong>ssh serveradmin@yourdomain.com@yourdomain.com</strong></li>
<li>run<br />
<strong>cd ~/.ssh</strong></li>
<li>now to add your key to list of authorized_keys run<br />
<strong>cat authorized_keys id_rsa.pub &gt; authorized_keys2</strong></li>
<li>and replace old list with new list<br />
<strong>mv authorized_keys2 authorize_keys</strong></li>
<li>run change mod to protect your authorized_keys file<br />
<strong>chmod 600 authorized_keys</strong></li>
<li>now you should be able to logout<br />
<strong>exit</strong></li>
<li> and log back in without requiring to enter a password.</li>
</ol>
<h4>Acronym instead of your domain name</h4>
<ol>
<li>with vim(or your favorite command line editor) edit ~/.ssh/config,<br />
<strong>vim ~/.ssh/config</strong></li>
<li>add<strong><br />
Host ps<br />
     HostName s43472.gridserver.com<br />
     User serveradmin@positivesum.org</strong></li>
<p><strong>lines after <strong>Host ps</strong> have to be <strong>indented</strong> You have to <strong>replace ps</strong> with your own acronym(whatever is applicable in your case) and change the HostName and User</strong> to your hostname and user name. You can create as many of these entries as you would like for all of your servers.</li>
</ol>
<p>Here your go, this should work, if it doesn&#8217;t let me know in the comments.<br />
 </p>
]]></content:encoded>
			<wfw:commentRss>http://taras.cc/index.php/2008/07/28/password-less-ssh-login-on-media-temple-gs-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
