<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SCP on Chrizzle23.net</title><link>https://chrizzle23.net/tags/scp/</link><description>Recent content in SCP on Chrizzle23.net</description><generator>Hugo</generator><language>en</language><copyright>Chrizzle23.net and all blog posts © 2026 by Chris Anderson is licensed under CC BY-NC-SA 4.0</copyright><lastBuildDate>Fri, 21 Feb 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://chrizzle23.net/tags/scp/index.xml" rel="self" type="application/rss+xml"/><item><title>Publishing Hugo sites with SCP</title><link>https://chrizzle23.net/posts/250221-hugoscp/</link><pubDate>Fri, 21 Feb 2025 00:00:00 +0000</pubDate><guid>https://chrizzle23.net/posts/250221-hugoscp/</guid><description>&lt;h1 id="publishing-hugo-sites-with-scp">Publishing Hugo sites with SCP&lt;/h1>
&lt;p>I keep having to re-remember how to do this:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>scp -prq public/. user@vps.mydomain.com:/var/www/mydomain.com
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>To pull the entire /var/www directory from a remote server (to back up a published site)&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>scp -r user@vps.mydomain.com:var/www/ ~/wwwbackup/ 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item></channel></rss>