<?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.chengyongxu.com/blog/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chengyongxu.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 06 Jan 2012 18:32:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>ssh 公钥认证方式登录</title>
		<link>http://www.chengyongxu.com/blog/ssh-%e5%85%ac%e9%92%a5%e8%ae%a4%e8%af%81%e6%96%b9%e5%bc%8f%e7%99%bb%e5%bd%95/</link>
		<comments>http://www.chengyongxu.com/blog/ssh-%e5%85%ac%e9%92%a5%e8%ae%a4%e8%af%81%e6%96%b9%e5%bc%8f%e7%99%bb%e5%bd%95/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 19:12:33 +0000</pubDate>
		<dc:creator>楚霏</dc:creator>
				<category><![CDATA[安全相关]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[公钥]]></category>

		<guid isPermaLink="false">http://www.chengyongxu.com/blog/?p=13</guid>
		<description><![CDATA[<p>一般上,我们用ssh远程登录到服务器时，要输入用户名和密码。系统管理员要经常登录服务器，不用密码直接登录到远程的linux/unix服务器会方便许多，这就要用到ssh公钥认证。 公钥认证，是使用一对加密字符串，一个称为公钥(public key)， 任何人都可以看到其内容，用于加密；另一个称为密钥(private key)，只有拥有者才能看到，用于解密。 通过公钥加密过的密文使用密钥可以轻松解密，但根据公钥来猜测密钥却十分困难。 在使用公钥认证之前，先检查一下服务器的ssh配置文件/etc/ssh/sshd_config RSAAuthentication yes # 启用 RSA 认证，默认为yes PubkeyAuthentication yes # 启用公钥认证，默认为yes 如果配置没有问题，那么你就可以进行下一步了。 环境：客户机clientA与服务器serverB，想用ssh公钥认证方式从A机器用client用户登录到B机器的server用户 方法如下： 1.在客户机A上生成公钥与密钥 [root@clientA~]$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save &hellip; <a class="more-link" href="http://www.chengyongxu.com/blog/ssh-%e5%85%ac%e9%92%a5%e8%ae%a4%e8%af%81%e6%96%b9%e5%bc%8f%e7%99%bb%e5%bd%95/">More<span class="meta-nav">&rarr;</span></a></p>
]]></description>
		<wfw:commentRss>http://www.chengyongxu.com/blog/ssh-%e5%85%ac%e9%92%a5%e8%ae%a4%e8%af%81%e6%96%b9%e5%bc%8f%e7%99%bb%e5%bd%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

