Simon Willison’s Weblog

Subscribe

Using SCP

9th July 2002

I’m slowly migrating this blog to another server (and rewriting it to use mySQL instead of serialized objects at the same time). After about half an hour of trying to figure out the best way of transferring the whole blog/ directory from this server to the new one without using FTP I figured out a way of doing it with scp (thanks to this tutorial):

scp -r blog/ username@www.wherever.com:/home/username/public_html/

Simple when you know how, a right PITA when you don’t.

This is Using SCP by Simon Willison, posted on 9th July 2002.

Next: Webdocs.org

Previous: XML-RPC debugging

Previously hosted at http://simon.incutio.com/archive/2002/07/09/usingScp