
<?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>CHizSTudio &#187; ssh</title>
	<atom:link href="http://www.chizstudio.com/tags/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chizstudio.com</link>
	<description>Lazy Trend Hunter&#039;s Digital life - Make your happy digital life</description>
	<lastBuildDate>Fri, 23 Apr 2010 03:32:57 +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>ssh를 이용한 rsync</title>
		<link>http://www.chizstudio.com/rync-using-ssh/</link>
		<comments>http://www.chizstudio.com/rync-using-ssh/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 01:24:00 +0000</pubDate>
		<dc:creator>sayo</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.chizstudio.com/?p=64</guid>
		<description><![CDATA[1. source, destination server에 인증key를 등록한다.
이걸 안하면 password를 넣으라는 문구가 뜬다.
$ ssh-keygen -d
Generating public/private dsa key pair.
Enter file in which to save the key (/home/oracle/.ssh/id_dsa):[press enter here]
Enter passphrase (empty for no passphrase): [press enter here]
Enter same passphrase again: [press enter here]
Your identification has been saved in /home/thisuser/.ssh/id_dsa.
Your public key has been saved in /home/thisuser/.ssh/id_dsa.pub.
The key [...]]]></description>
			<content:encoded><![CDATA[<p>1. source, destination server에 인증key를 등록한다.<br />
이걸 안하면 password를 넣으라는 문구가 뜬다.</p>
<p>$ ssh-keygen -d<br />
Generating public/private dsa key pair.<br />
Enter file in which to save the key (/home/oracle/.ssh/id_dsa):[press enter here]<br />
Enter passphrase (empty for no passphrase): [press enter here]<br />
Enter same passphrase again: [press enter here]<br />
Your identification has been saved in /home/thisuser/.ssh/id_dsa.<br />
Your public key has been saved in /home/thisuser/.ssh/id_dsa.pub.<br />
The key fingerprint is:<br />
2e:28:d9:ec:85:21:e7:ff:73:df:2e:07:78:f0:d0:a0 thisuser@thishost</p>
<p>$ scp /home/thisuser/.ssh//id_dsa.pub remoteuser@remotehost:/home/thisuser/.ssh/authorized_keys</p>
<p>2. rsync로 싱크를 한다.</p>
<p>$rsync -e &#8217;ssh -ax&#8217; -avz &#8211;delete &#8211;delete-excluded /home/thisuser/automatic-backup/ remoteuser@remotehost:/home/remoteuser/automatic-backup</p>
<p>3. crontab 에 등록하게 되면 일정한 시간에 자동으로 백업을 진행한다.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chizstudio.com/rync-using-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
