Go Community Linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Go community here or just enjoy what everyone else has found!


SFTP deployment, backup, and download programme

Created to serve the need for uploading, downloading and backing up website code for WordPress sites which only support SFTP access. Backup routine saves files to .tar.gz file without intermediate step of saving remote files locally and then tarring that folder. Upload will take configured folders and upload to designated spots in the remote system. Download will do a similar but reversed operation to the upload. Each step is configurable in terms of the local and remote locations to act upon. Integrates with SSH Agent or Pageant (on Windows) for SSH Key-based authentication, but also supports Password authentication as a fallback.

https://github.com/bowlhat/sftp-deploy

Posted by:  Daniel Llewellyn