<?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>Alex&#039;s Adventures in CodeSpace &#187; openssh</title>
	<atom:link href="http://www.blogalex.com/archives/tag/openssh/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blogalex.com</link>
	<description>Alex Guerrieri&#039;s Blog</description>
	<lastBuildDate>Wed, 22 Jun 2011 15:56:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>SFTP/SCP Atomic Copy</title>
		<link>http://www.blogalex.com/archives/226</link>
		<comments>http://www.blogalex.com/archives/226#comments</comments>
		<pubDate>Fri, 20 Nov 2009 16:50:53 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[atomic]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=226</guid>
		<description><![CDATA[I&#8217;ve come across Mihai Secasiu&#8217;s very useful patch for OpenSSH, that enables SCP and SFTP to do atomic copying. We needed that functionality on one of our servers, so I decided to give it a try. However, we were using OpenSSH 5.3p1 instead of 4.6 (the version the patch was made for) and the patch didn&#8217;t apply [...]]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_241415634" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/226" data-text="SFTP/SCP Atomic Copy" data-desc="I've come across Mihai Secasiu's very useful patch for OpenSSH, that enables SCP and SFTP to do atomic copying.

We needed that functionality on one of our servers, so I decided to give it a try. However, we were using OpenSSH 5.3p1 instead of 4.6 (the version the patch was made for) and the patch didn't apply completely.

After a couple of tweaks, I've managed to make it apply on 5.3p1 and, in the same Open Source spirit shown by the original patch author's , here's my modified version t" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_241415634&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F226&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>I&#8217;ve come across Mihai Secasiu&#8217;s very useful <a title="patch" href="http://patchlog.com/patches/atomic-scp-and-sftp-upload/" target="_blank">patch</a> for OpenSSH, that enables SCP and SFTP to do atomic copying.</p>
<p>We needed that functionality on one of our servers, so I decided to give it a try. However, we were using OpenSSH 5.3p1 instead of 4.6 (the version the patch was made for) and the patch didn&#8217;t apply completely.</p>
<p>After a couple of tweaks, I&#8217;ve managed to make it apply on 5.3p1 and, in the same Open Source spirit shown by the original patch author&#8217;s , here&#8217;s my modified version that applies against 5.3p1:</p>
<p><a href="http://www.blogalex.com/wp-content/uploads/2009/11/openssh_scp_sftp_atomic-5.3p1.diff">openssh_scp_sftp_atomic-5.3p1</a></p>
<p>Check <a title="patch" href="http://patchlog.com/patches/atomic-scp-and-sftp-upload/" target="_blank">the original patch post</a> on <a title="PatchLog" href="http://patchlog.com/" target="_blank">PatchLog</a> for instructions about how to build it and configure. There&#8217;s a lot more nice stuff on the site as well.</p>
<p>Nice job Mihai! <img src='http://www.blogalex.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_164932855" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/226" data-text="SFTP/SCP Atomic Copy" data-desc="I've come across Mihai Secasiu's very useful patch for OpenSSH, that enables SCP and SFTP to do atomic copying.

We needed that functionality on one of our servers, so I decided to give it a try. However, we were using OpenSSH 5.3p1 instead of 4.6 (the version the patch was made for) and the patch didn't apply completely.

After a couple of tweaks, I've managed to make it apply on 5.3p1 and, in the same Open Source spirit shown by the original patch author's , here's my modified version t" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_164932855&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F226&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/226/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

