<?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; ssh</title>
	<atom:link href="http://www.xiaojb.com/archives/tag/ssh/feed" rel="self" type="application/rss+xml" />
	<link>http://www.xiaojb.com</link>
	<description>奋斗无止境 爱拼才会赢</description>
	<lastBuildDate>Wed, 30 Jun 2010 09:22:51 +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>基于SSH密钥对的自动登录</title>
		<link>http://www.xiaojb.com/archives/it/ssh-login.shtml</link>
		<comments>http://www.xiaojb.com/archives/it/ssh-login.shtml#comments</comments>
		<pubDate>Thu, 24 May 2007 09:53:54 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.xiaojb.com/?p=538</guid>
		<description><![CDATA[客户机 [xiao@xiao .ssh]# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/xiao/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/xiao/.ssh/id_rsa. Your public key has been saved in /home/xiao/.ssh/id_rsa.pub. The key fingerprint is: b7:90:79:46:cb:1d:3b:a5:56:2d:09:95:e4:f2:b7:4a xiao@xiao 如果不需要密码的自动登录，在这里就不需要输入任何东西。 将生成的/home/xiao/.ssh/id_rsa.pub的内容复制到远程帐户目录下，具体是 ~account/.ssh/authorized_keys，要保证authorized_keys的权限是700。 这样就可以ssh自动登录远程帐户了。]]></description>
			<content:encoded><![CDATA[<p>客户机</p>
<pre>
[xiao@xiao .ssh]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/xiao/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/xiao/.ssh/id_rsa.
Your public key has been saved in /home/xiao/.ssh/id_rsa.pub.
The key fingerprint is:
b7:90:79:46:cb:1d:3b:a5:56:2d:09:95:e4:f2:b7:4a xiao@xiao
</pre>
<p>如果不需要密码的自动登录，在这里就不需要输入任何东西。<br />
将生成的/home/xiao/.ssh/id_rsa.pub的内容复制到远程帐户目录下，具体是<br />
~account/.ssh/authorized_keys，要保证authorized_keys的权限是700。</p>
<p>这样就可以ssh自动登录远程帐户了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiaojb.com/archives/it/ssh-login.shtml/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
