Jeff Forcier
6284666cfd
Merge branch '1.8' into 1.9
2013-02-03 11:52:30 -08:00
Jeff Forcier
bf87cd124d
Update explicitly-stated Python version reqs to 2.5+
2013-02-03 11:52:11 -08:00
Jeff Forcier
876c9bdbda
Merge branch '1.8' into 1.9
2012-12-31 16:53:55 -05:00
Jeff Forcier
d5edad63a3
New year
2012-12-31 16:53:51 -05:00
Jeff Forcier
5073b7236d
Merge branch '1.8' into 1.9
2012-11-29 15:37:25 -08:00
Jeff Forcier
7255dcf042
Update Travis settings:
...
* Don't email me, I'll see it on IRC if I'm online
* Ping #paramiko, not #fabric, as it now exists
2012-11-29 15:37:22 -08:00
Jeff Forcier
287f9c3423
Revert "Forgot to import errno"
...
This reverts commit 203c7379ac
.
2012-11-29 15:19:15 -08:00
Jeff Forcier
bda161330f
Revert "Make send() and recv() fail when channel is closed"
...
This reverts commit 8496eff0b7
.
2012-11-29 15:19:07 -08:00
Jeff Forcier
03c350903e
Merge branch '1.8' into 1.9
2012-11-29 15:18:53 -08:00
Jeff Forcier
682a3eff84
Revert "Forgot to import errno"
...
This reverts commit 537f95dbb3
.
2012-11-29 15:18:48 -08:00
Jeff Forcier
7a4d3c4e42
Revert "Make send() and recv() fail when channel is closed"
...
This reverts commit bc3674d0f0
.
2012-11-29 15:18:40 -08:00
Tomer Filiba
203c7379ac
Forgot to import errno
2012-11-29 14:55:34 -08:00
Tomer Filiba
8496eff0b7
Make send() and recv() fail when channel is closed
...
``sendall()`` was checking if the channel has been closed,
and failed accordingly, but ``send()`` and ``recv()`` did not.
This meant that ``chan.send("foo")`` when the channel was already
closed, just blocked forever.
2012-11-29 14:55:31 -08:00
Tomer Filiba
537f95dbb3
Forgot to import errno
2012-11-29 14:38:33 -08:00
Tomer Filiba
bc3674d0f0
Make send() and recv() fail when channel is closed
...
``sendall()`` was checking if the channel has been closed,
and failed accordingly, but ``send()`` and ``recv()`` did not.
This meant that ``chan.send("foo")`` when the channel was already
closed, just blocked forever.
2012-11-29 14:38:23 -08:00
Jeff Forcier
5ed0e11a7f
Merge branch '1.8' into 1.9
2012-11-28 22:22:58 -08:00
Jeff Forcier
2832f3c60f
Make docs target build whenever Paramiko files change
2012-11-28 22:22:54 -08:00
Jeff Forcier
d7aa342c20
Git ignore built docs dir
2012-11-06 16:28:42 -08:00
Jeff Forcier
b42c73356c
Git ignore built docs dir
2012-11-06 16:28:35 -08:00
Jeff Forcier
06d987c362
Merge branch '1.8' into 1.9
2012-11-06 13:13:04 -08:00
Jeff Forcier
a32addcfb7
Tweak travis config
2012-11-06 13:13:00 -08:00
Jeff Forcier
65de2529a9
Update changelog date for 1.9.0
2012-11-06 13:10:03 -08:00
Jeff Forcier
42f1b451a6
Merge branch '1.8'
...
Conflicts:
NEWS
paramiko/__init__.py
setup.py
2012-11-06 13:09:23 -08:00
Jeff Forcier
7f4c26f860
Cut 1.8.1
2012-11-06 13:08:41 -08:00
Jeff Forcier
a3b44c7ed9
Bump to 1.9.0 for release
2012-11-06 13:06:08 -08:00
Jeff Forcier
ebd007b217
Python 2.5 compat
2012-11-05 23:10:13 -08:00
Jeff Forcier
e7ab3c068f
Fix broken import
2012-11-05 23:10:05 -08:00
Jeff Forcier
308c5f57d9
Add ProxyCommand classes to top level API
2012-11-05 23:09:52 -08:00
Jeff Forcier
7a3cb790a6
Changelog re #97
2012-11-05 17:55:37 -08:00
Jeff Forcier
fd392d6b20
One more patch from @clarete's work
2012-11-05 17:47:33 -08:00
Jeff Forcier
191a5fc08c
Implement (& test for) ProxyCommand interpolation.
...
Forgot this earlier.
2012-11-05 17:44:25 -08:00
Jeff Forcier
0981c25cd8
Formatting
2012-11-05 17:35:06 -08:00
Jeff Forcier
0a276ac34b
Bubble up ProxyCommandFailure in packetizer
2012-11-05 17:31:17 -08:00
Jeff Forcier
394ab2699e
Post-import edits
2012-11-05 17:29:32 -08:00
Jeff Forcier
5d15467ad4
Import BadProxyCommand
2012-11-05 17:29:23 -08:00
Jeff Forcier
27271fa455
Post-import edits
2012-11-05 17:26:47 -08:00
Jeff Forcier
7cd2f2715b
Initial port of ProxyCommand class from @clarete
2012-11-05 17:25:03 -08:00
Jeff Forcier
270bb94a46
Fix ProxyCommand equals splitting.
...
Uses regex approach from @lndbrg
2012-11-05 17:18:48 -08:00
Jeff Forcier
928c062748
Add failing test(s) re ProxyCommand config parsing
2012-11-05 17:04:52 -08:00
Jeff Forcier
fb5d245b31
More attributions
2012-11-05 17:04:25 -08:00
Jeff Forcier
8e8dcea295
Add in big attribution big in prep for having ProxyCommand done
2012-11-05 15:34:46 -08:00
Jeff Forcier
31244a2ccb
Changelog re #77
2012-11-05 13:31:00 -08:00
Jeff Forcier
f9b7ce902f
Tweak docstring re #77
2012-11-05 13:30:56 -08:00
Steven Noonan
31ea4f0734
SSHClient: add 'sock' parameter to connect() for tunneling
...
Re #77
This parameter, if set, can be used to make Paramiko wrap an existing socket
connected to a remote SSH server. For instance, you could set up another
SSHClient directly connected to a "gateway" host, and then create a direct-tcpip
tunnel to a "target" host directly accessible from the gateway's perspective
(e.g. think of trying to establish an SSH connection to hosts behind a NAT).
The gateway host would then establish a TCP connection to the target host
directly, and a channel is exposed on the client side. This channel could be
wrapped by an SSHClient class using the connect() function, avoiding the need
to establish a new TCP connnection.
This effectively allows you to create tunneled SSH connections.
Based on work by Oskari Saarenmaa <os@ohmu.fi>, in Paramiko pull request #39 .
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2012-11-05 13:30:48 -08:00
Jeff Forcier
fd5e29b5a8
Somehow missed a pretty important change in the changelog
2012-11-05 11:22:07 -08:00
Jeff Forcier
786920a320
Merge branch '1.8'
2012-10-15 13:33:16 -07:00
Jeff Forcier
dfb45dec7f
Refactoring: it's a thing. Re #85
2012-10-15 13:21:58 -07:00
Jeff Forcier
7c12862b55
Only override unittest assertions when absolutely necessary.
...
Fixes #85
2012-10-15 12:57:39 -07:00
Jeff Forcier
1341e28882
Move SFTPClient.get() termination condition to loop end.
...
Ensures callback always executes even for zero-len files.
Fixes #90
2012-10-14 21:46:50 -07:00
Jeff Forcier
78815afe9d
Merge branch '1.8'
...
Conflicts:
NEWS
2012-10-14 20:40:59 -07:00