简体   繁体   中英

Using bzr with SFTP on Windows/Cygwin

Note: I'm not sure if this belongs on ServerFault or StackOverflow

I'm currently working on a project which has an SFTP-only bzr repository. All works fine using my Linux machine, but when using Windows with Cygwin I get the following issue:

$ bzr checkout sftp://user@hostname/var/bzr/project
bzr: ERROR: Unsupported protocol for url "sftp://user@hostname/var/bzr/project": Unable to import paramiko (required for sftp support): No module named Crypto

I have installed Cygwin's python-paramiko package, so I'm not sure why it's refusing to use it.

Any suggestions much appreciated.

Clarification: This does work with Windows bazaar GUI tool & Windows cmd shell, I'm just wondering if I can make it work in Cygwin as I prefer UNIXy command line tools.

Played around with this today.

Had to install python-crypto which should be a prerequisite of python-paramiko but isn't.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM