zc.buildoutsftp

Specialized zc.buildout plugin to add sftp support
Download

zc.buildoutsftp Ranking & Summary

Advertisement

  • Rating:
  • License:
  • ZPL
  • Price:
  • FREE
  • Publisher Name:
  • Jim Fulton
  • Publisher web site:
  • http://www.zope.com

zc.buildoutsftp Tags


zc.buildoutsftp Description

zc.buildoutsftp is a Python module that provides a zc.buildout extension that provides support for SFTP. To use it, simply provide the option:extensions = zc.buildoutsftpin your buildout section. Then you can use sftp URLs for find-links or index URLs.An SFTP URL is similar to an FTP URL and is of the form:sftp://user:password@hostname:port/pathwhere the user name, password, and port are optional. Here are some examples:The following URL accesses the path /distribution on download.zope.org:sftp://download.zope.org/distributionThe following URL accesses the path /distribution on download.zope.org using the user id jim:sftp://jim@download.zope.org/distributionThe following URL accesses the path /distribution on download.zope.org using the user id jim and password 123:sftp://jim:123@download.zope.org/distributionThe following url accesses the path /distribution on download.zope.org using an ssh server running on port 1022:sftp://download.zope.org:1022/distributionThe buildout extension actually installs a urllib2 handler for the "sftp" protocol. This handler is actually setuptools specific because it generates HTML directory listings, needed by setuptools and makes no effort to make directory listings useful for anything else. It is possible that, in the future, setuptools will provide it's own extension mechanism for handling alternate protocols, in which case, we might bypass the urllib2 extension mechanism.SSH CompatibilityThe extension works with Open SSH on unix-based systems and PuTTY on Windows. Unless a password is given in the URL, private keys are ontained from ssh agent (pagent on Windows).Product's homepage


zc.buildoutsftp Related Software