Posts from — November 2009
Upload recipe using Net::SCP
Sharing a simple ruby recipe to automate uploads of static website, if rsync is giving you problems(like with my school web server). This script uses Net::SCP.
Net::SCP is a pure-Ruby implementation of the SCP protocol. This operates over SSH (and requires the Net::SSH library), and allows files and directory trees to copied to and from a remote server.
This solution lies somewhere between manually uploading and fully automation using Capistrano or Vlad.
November 1, 2009 1 Comment



