Commit Graph

35 Commits

Author SHA1 Message Date
Kian-Meng Ang 897c3dc37e Fix typos 2022-06-07 20:28:50 +08:00
Min RK 0c2772c320 deprecate utils.strtypes
let flake8 check F401, and fix some unused imports
2022-03-03 15:05:08 +01:00
Min RK 2dc67d544c more types!
add annotations on more sugar methods, auth, devices

as well as proper types on most async wrappers
2022-01-11 15:49:04 +01:00
Min RK 7c024bad0a run pre-commit (isort, pyupgrade) 2021-12-07 14:44:16 +01:00
pre-commit-ci[bot] f350e89abd [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-12-06 16:56:47 +00:00
Min RK 9eb79a2deb support configurable paramiko host key policy
adds support for AutoAdd, Warning, Reject via user input

default is Reject, AutoAdd is probably what most folks want, but should be opt-in
2021-07-30 11:07:03 +02:00
Min RK 15fc44a62d ignore type of fallback paramiko import 2021-01-22 16:15:52 +01:00
Min RK 4d9d025725 add mypy stubs
since this is a big change, take the opportunity to apply black, linters to code base
2020-11-25 15:16:34 +01:00
Caleb Hattingh fbfcca4298 Fix typo "unavaliable" 2017-03-10 07:38:31 +10:00
Min RK 94b492bd11 don't store history of random ports selected
trust the OS
2016-08-01 10:27:00 +02:00
guoci 358777bca2 python3 fixes
make that line work on python3. `output` is a bytes object.
2016-03-27 23:37:49 -04:00
Min RK c5724bbeea password-pattern needs to be bytes
for pexpect, even though it should be str
2015-11-30 11:44:00 +01:00
Min RK 1452c7729d Merge pull request from minrk/passphrase
catch passphrase prompt as well as password
2015-11-03 20:36:22 +01:00
Min RK 4e05f18c78 catch passphrase prompt as well as password 2015-11-03 20:19:52 +01:00
Min RK 77812d5642 paramiko tunnels should be daemons 2015-09-08 09:55:08 +02:00
sylvain.corlay 5966b93ab3 Use SSHException 2014-11-07 01:09:14 -05:00
sylvain.corlay 422390496d Quick fix in case of new host 2014-11-06 23:22:11 -05:00
MinRK be89bd87a4 remove dict comprehension from ssh.tunnel
since we still support Python 2.6
2014-10-24 23:49:55 -07:00
Sylvain Corlay 75a4269967 unsetting ASK_PASS environment variable to disable x11 password window 2014-07-14 05:45:01 +00:00
MinRK 01b4dc9c75 update copyright and headers 2014-06-10 14:33:25 -07:00
MinRK 339a5d35be protect ssh command replacement 2014-06-10 13:46:05 -07:00
Matthew Aburn dbd06340ca support ssh multiplexer in tunnels 2014-05-23 10:11:38 +10:00
MinRK 863a1947fc pull upstream changes to zmq.ssh from IPython 2014-04-20 11:15:19 -07:00
Scott Maxwell e50be773bb Py3 support for zmq.ssh 2013-11-01 10:49:14 -07:00
MinRK e7a620a645 upstream pexpect pattern fix
from 
2012-08-19 16:31:36 -07:00
Nick Pellegrino 620d7e60bf Fixing syntax error in command for OpenSSH tunnel 2012-07-23 16:30:16 -07:00
Nick Pellegrino 60307bd3be Correctly parses server when non-default port is specified, to create tunnel using OpenSSH. Passes port to ssh through -p option 2012-07-20 14:48:09 -07:00
MinRK 5a73ccc73a remove sys.exc_info()[1] hack for py25compat 2012-04-02 15:29:11 -06:00
MinRK be34a838f7 use print_function
removes ambiguous `print ("maybe_function")` practice
2012-04-02 15:29:11 -06:00
MinRK b95d3ee5bd relicense non-core code under 3-clause New BSD
Add CONTRIBUTING file describing current license policy

All authors on changed files have been contacted, and consent given.

Summary of current license:

zmq.core: LGPL (permanent)
perf: LGPL (permanent, © iMatix)
zmq.devices.monitoredqueue.pxd: LGPL (permanent, adapted from libzmq code)
zmq.ssh.forward: LGPL (permanent, © paramiko)
zmq.eventloop: Apache (permanent, © Facebook)
examples/chat: LGPL (pending author response)
examples/devices: LGPL (pending author response)

Everything else: 3-Clause New BSD
2012-03-06 13:36:34 -08:00
MinRK 64ebc69fa9 minor sphinx-friendly docstring pass 2012-02-05 15:15:54 -08:00
MinRK f95883e1de use range instead of xrange in ssh.tunnel
for Python 3 support

closes gh-159
2011-11-30 02:05:26 -08:00
Tigger Bear 867a9a4d9b fix isalive -> is_alive typo in ssh.tunnel
Process has is_alive(), isalive() is for pexpect.
Only atexit cleanup of Paramiko tunnels was affected.
2011-11-14 16:58:58 -08:00
MinRK 2baa2ca88c update zmq.ssh with 2.5-friendly syntax 2011-08-22 16:16:10 -07:00
MinRK 9f83a9ba62 add zmq.ssh from IPython.external.ssh
* also edited setup.py to use automatic find_packages() function
2011-08-22 15:41:34 -07:00