<?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; 动态验证码</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/%e5%8a%a8%e6%80%81%e9%aa%8c%e8%af%81%e7%a0%81/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下使用Google Authenticator配置SSH登录动态验证码</title>
		<link>https://www.osyunwei.com/archives/9045.html</link>
		<comments>https://www.osyunwei.com/archives/9045.html#comments</comments>
		<pubDate>Mon, 15 Jun 2015 01:39:43 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[安全优化]]></category>
		<category><![CDATA[Authenticator]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[动态验证码]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=9045</guid>
		<description><![CDATA[说明： 1、一般ssh登录服务器，只需要输入账号和密码。 2、本教程的目的：在账号和密码之间再增加一个      验证码，只有输入正确的验证码之后，再输入      密码才能登录。这样就增强了ssh登录的安全性。 3、账号、验证码、密码三者缺一个都不能登录，即使账号和密码正确，验证码错误，同样登录失败。 4、验证码：是动态验证码，并且是通过手机客户端自动获取（默认每隔30秒失效一次）。 5、最终目的：远程ssh登录一台服务器，需要正确的账号、密码、及一个可以获取到动态验证码的手机     （目前支持Android和ios手机系统）。 具体操作： 操作系统：CentOS 一、关闭SELINUX vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 二、安装编辑工具包 1、使用CentOS默认yum源安装 yum install wget gcc make yum install pam-devel libpng-devel 2、配置repoforge第三方yum源安装mercurial包 CentOS各个版本，请选择正确版本 CentOS 5.x rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm CentOS 6.x rpm [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/9045.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/9045.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
