Scott Maxwell
f0017b8330
Fix import * and a bunch of PEP8 formatting
2014-03-07 20:45:26 -08:00
Jeff Forcier
1b5332ead1
Skip failing test on Py3
2014-03-07 14:31:52 -08:00
Scott Maxwell
ae078f51d6
Fix new test for Py3 and start server in tests instead of in setUp so we can skip starting server for test 5
2014-01-16 20:15:16 -08:00
Scott Maxwell
b9e62182e5
Merge remote-tracking branch 'master/master' into py3-support-without-py25
...
Conflicts:
paramiko/__init__.py
setup.py
tests/test_client.py
2014-01-16 19:50:53 -08:00
Jeff Forcier
6d326fcde2
Saner (to me) positive assertion
2014-01-08 12:44:12 -08:00
Jeff Forcier
74e06aff9e
Small refactor
2014-01-08 12:39:26 -08:00
Jeff Forcier
78d9e4834c
No need for 'self.tc' within a single test :)
2014-01-08 12:35:46 -08:00
Martin Blumenstingl
bfc3953be0
Add a testcase for client.save_host_keys.
2014-01-08 12:27:24 -08:00
Scott Maxwell
6d75c75e64
Remove byte conversions and unhexlify calls that we only needed for Py2.5 support and use the `b` byte string marker instead
2013-11-19 10:09:08 -08:00
Scott Maxwell
7444a99993
Fix some deprecation and resource warnings
2013-11-02 20:19:04 -07:00
Scott Maxwell
45e65b6e1e
Make sftp.open handle binary and text, more type conversion
2013-11-02 14:56:43 -07:00
Scott Maxwell
9662a7f779
Changes inspired by the nischu7 branch
2013-11-01 09:49:52 -07:00
Scott Maxwell
7a45d3c70f
More type conversion
2013-10-31 15:25:45 -07:00
Scott Maxwell
0e4ce3762a
Fix message sending
...
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
2013-10-30 17:09:34 -07:00
Scott Maxwell
644c52266c
Use test_path to avoid relative path issues
2013-10-30 16:22:52 -07:00
Scott Maxwell
66cfa97cce
Fix imports
2013-10-30 16:19:30 -07:00
Jeff Forcier
83f44878ea
Fixed a typo in the license header of most files
...
Conflicts:
paramiko/proxy.py
2013-09-27 21:29:18 -07:00
Jeff Forcier
e0be91a4c9
Fixes to failing-test teardowns to avoid more exceptions or hangs
...
(cherry picked from commit 734f3d6f42ef1564f473fee5526e0354fc8196fc)
Conflicts:
test.py
2012-09-24 18:59:33 -07:00
Robey Pointer
71e872e23a
bug 426925: lookup host keys correctly when they have a different port.
2009-11-01 21:28:47 -08:00
Robey Pointer
60c6e94e7d
fix my email address to be the current one.
2009-07-19 19:45:02 -07:00
Robey Pointer
c2ef48cf18
[project @ robey@lag.net-20080706203706-zqxb69qrcgyuf90n]
...
allow multiple key files to be specified in SSHClient.
suggested by Bernhard Walle.
2008-07-06 13:37:06 -07:00
Robey Pointer
83b335e10f
[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]
...
bump copyright year to 2007
2007-02-13 11:17:06 -08:00
Robey Pointer
ecb8ffe373
[project @ robey@lag.net-20070211022553-mjbl0w7wygpl7os5]
...
add another test to check out private key auth.
2007-02-10 18:25:53 -08:00
Robey Pointer
c570f1a35a
[project @ robey@lag.net-20061227194121-hzrmwbb6ea14unkg]
...
once, this test failed, so add a timer
2006-12-27 14:41:21 -05:00
Robey Pointer
029b8989db
[project @ robey@lag.net-20061215222108-7pu0151970w1e1lp]
...
add a ResourceManager to replace __del__ methods, and use it in SSHClient
to automatically close any open transport when the SSHClient is collected.
this won't work on Transport itself (to close the attached packetizer)
because Transport starts up its own thread, and the threading library
keeps a Transport object alive to run that thread. i think that's okay;
the SSHClient interface is meant to be the easier one, so that's the one
where it's important that some auto-cleanup is attempted.
2006-12-15 14:21:08 -08:00
Robey Pointer
2a03425e27
[project @ robey@lag.net-20060508002007-3b7b87c361fe876a]
...
add unit tests for SSHClient, and fix a few bugs that uncovered
2006-05-07 17:20:07 -07:00