<?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>Fly Zone &#187; ssh</title>
	<atom:link href="http://flyxj.cn/archives/tag/ssh/feed" rel="self" type="application/rss+xml" />
	<link>http://flyxj.cn</link>
	<description>Do not, for one repulse, give up the purpose that you resolved to effect.</description>
	<lastBuildDate>Sun, 15 Jan 2012 14:56:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Windows 下利用 WinSCP 执行定期备份任务</title>
		<link>http://flyxj.cn/archives/windows-use-winscp-cron-backup</link>
		<comments>http://flyxj.cn/archives/windows-use-winscp-cron-backup#comments</comments>
		<pubDate>Sun, 15 Jan 2012 14:56:24 +0000</pubDate>
		<dc:creator>flyxj</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[telnet]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[winscp]]></category>
		<category><![CDATA[备份]]></category>

		<guid isPermaLink="false">http://flyxj.cn/?p=717</guid>
		<description><![CDATA[利用 WinSCP 来备份数据已经很常用了，只要有 Linux 的 SSH 账号即可，但是有的时候，备份工作是烦锁，周期，没有激情的，每次都利用 WinSCP 连接、备份，很是麻烦，而且也会遗忘。 其实利用 WinSCP 中的 winscp.com 能做到在命令行下备份，然后利用批处理执行定期任务。 在 WinSCP 中正常添加主机的 SSH 账号，并且定义好主机名，比如：XXX 在 WinSCP 目录中创建批处理文件 BakDB.bat，内容如下： option batch on option confirm off open XXX call ./backup_mysql.sh get /backup/* D:\BakDB\ exit call ./backup_mysql.sh 是执行备份数据库的 shell 脚本，执行完成后复制 backup 目录下的所有文件保存到 D 盘的 BakDB 文件夹中。 将该批处理添加到计划任务中即可周期自动运行，亦可手动双击批处理图标来执行备份操作。]]></description>
		<wfw:commentRss>http://flyxj.cn/archives/windows-use-winscp-cron-backup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare ESXi 5 系统恢复</title>
		<link>http://flyxj.cn/archives/vmware-esxi-5-system-recovery</link>
		<comments>http://flyxj.cn/archives/vmware-esxi-5-system-recovery#comments</comments>
		<pubDate>Sat, 19 Nov 2011 11:12:18 +0000</pubDate>
		<dc:creator>flyxj</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[wmdk]]></category>
		<category><![CDATA[恢复]]></category>
		<category><![CDATA[系统]]></category>

		<guid isPermaLink="false">http://flyxj.cn/?p=701</guid>
		<description><![CDATA[本来想备份 VMWare ESXi 5 里面的系统的，谁知道不小心删除了运行中的文件夹，由于系统还在运行，所以里面只剩下两个硬盘文件（一个是安装时的硬盘、一个是快照后的差量硬盘数据），关机后，系统就起不来了。 查阅资料，折腾了半天，总算最后是有惊无险，系统恢复了，运行正常，具体方法： 备份或移动你的虚拟硬盘 xxxx-flat.vmdk 以及快照文件 xxxx-0000001.wmdk。 新建一虚拟机，不要创建硬盘。 ssh 登录 ESXi，进入原来 xxxx-flat.vmdk 文件所在位置及目录：cd /vmfs/volumes/disk1/xxxx。 在上面这个文件相同目录下创建新 xxxx.vmdk 文件，大小要和原来 xxxx-flat.vmdk 文件一样。 用 vmkfstools -c 文件大小 -a lsilogic xxxx.vmdk 来创建新磁盘文件 使用 mv 命令将原来的 xxxx-flat.vmdk 覆盖新建的 xxxx-flat.vmdk。 将这个磁盘文件添加到新建的虚拟机中，此时系统恢复完成，如果不需要恢复快照，到这部份即可，如果要恢复快照数据，请不要启动系统。 在 ESXi 中正常创建快照，并且还是通过 ssh 将原来的 xxxx-0000001.vmdk 文件替换新的 xxxx-0000001.vmdk 文件。 大功告成，丢失的系统恢复了！]]></description>
		<wfw:commentRss>http://flyxj.cn/archives/vmware-esxi-5-system-recovery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows上循环Ping的批处理代码</title>
		<link>http://flyxj.cn/archives/windows-bat-for-cycle-ping</link>
		<comments>http://flyxj.cn/archives/windows-bat-for-cycle-ping#comments</comments>
		<pubDate>Wed, 16 Mar 2011 07:39:38 +0000</pubDate>
		<dc:creator>flyxj</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[bat]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://flyxj.cn/?p=450</guid>
		<description><![CDATA[最近受日本地震影响，连接SSH服务器非常的不稳定（为什么要买SSH，你懂得）。SSH服务商将我的账号升级成一号通，可以在多个服务器上登陆，也可以选择最快的来登录，于是就有了下面的Windows下的批处理代码，可以循环测试多个域名或IP的连通性，选择最佳的，域名改成你想测试的地址，把下面的代码保存到记事本中，并以后缀.bat结尾，很方便。 这让我想到了之前写的一篇关于Cisco IOS中使用Tcl脚本快速测试连通性文章。 批处理代码： :lop ( cls ping flyxj.cn ping flyxj.cn ping flyxj.cn pause ) goto lop]]></description>
		<wfw:commentRss>http://flyxj.cn/archives/windows-bat-for-cycle-ping/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Security Device Manager</title>
		<link>http://flyxj.cn/archives/cisco-security-device-manager</link>
		<comments>http://flyxj.cn/archives/cisco-security-device-manager#comments</comments>
		<pubDate>Thu, 25 Mar 2010 09:52:00 +0000</pubDate>
		<dc:creator>flyxj</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://flyxj.cn/?p=30</guid>
		<description><![CDATA[Cisco SDM（Security Device Manager）是 Cisco 公司提供的全新图形化路由器管理工具，该工具利用 WEB、Java 等技术使用户无需了解命令行接口（CLI），即可轻松地完成 Cisco IOS 路由器的配置。 首先安装 JRE（JAVA 虚拟机） 安装 Cisco SDM（本地安装，也可以安装在真实路由器的 Flash 中） 启用路由器的 HTTP/HTTPS 服务器，请使用下列 Cisco IOS 命令： Router(config)# ip http server Router(config)# ip http secure-server Router(config)# ip http authentication local //启用 HTTP 服务本地认证 Router(config)# ip http timeout-policy idle 600 life 86400 request 10000    //可选，idle 600：http 连接超时时间（10 [...]]]></description>
		<wfw:commentRss>http://flyxj.cn/archives/cisco-security-device-manager/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

