• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Snippet #602

Created 8/26/2010, updated 5/18/2017
  • ssh
  • sftp
  • scp
  • snippets

sftp works great with non-shell accounts given to untrusted users; you can use the built-in SFTP server provided by OpenSSH to chroot them into their home directories. The problem: you lose the scriptability that scp provides (eg. uploading files from a Rake task). The solution: sftp -b to the rescue!

← Snippet #603
Snippet #601 →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).