Commit Graph

672 Commits

Author SHA1 Message Date
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
Jeff Forcier 8e5f774965 Meh fabfile for docs uploading 2012-10-14 20:40:39 -07:00
Jeff Forcier 45969670db Add 1.9.0 to master NEWS 2012-10-14 17:06:36 -07:00
Jeff Forcier e99399ce66 Set up 1.8.1 chunk in NEWS 2012-10-14 17:05:18 -07:00
Jeff Forcier e3ab0489f3 Add missing release date to NEWS for 1.8.0 2012-10-14 17:03:47 -07:00
Jeff Forcier 09488c665b 80-col fix 2012-09-25 22:09:49 -07:00
Jeff Forcier 2d7355da5e Fix module import in tests 2012-09-25 18:11:30 -07:00
Jeff Forcier 71456b8990 Correct dev-installation doc in package metadata 2012-09-25 18:10:28 -07:00
Jeff Forcier 2e016358ef Whitespace + lang tweak 2012-09-25 18:09:35 -07:00
Jeff Forcier 30a2d14b78 Init header update 2012-09-25 18:05:01 -07:00
Jeff Forcier 47c5b3a65b Nuke old copy of original README 2012-09-24 19:19:41 -07:00
Jeff Forcier 3cba95f112 Transition back to Paramiko's readme; update to be currently accurate 2012-09-24 19:19:00 -07:00
Jeff Forcier 217512430d Remove extraneous changelog lines from 'ssh' 2012-09-24 19:14:34 -07:00
Jeff Forcier f0c953dcf6 Namespace issue numbers appropriately 2012-09-24 19:12:54 -07:00
Jeff Forcier c9db81861a For now, merge ssh CHANGES file into paramiko NEWS 2012-09-24 19:09:53 -07:00
Jeff Forcier dd6fb2577d Bump to 0.8.x due to nontrivial changes
(cherry picked from commit d7def60c4784fed39fc8714753304a150da131c7)

Conflicts:
	setup.py
2012-09-24 19:00:19 -07:00
Jeff Forcier 3c01fdda14 Fix #28: hide interpreter-death threading exceptions
(cherry picked from commit 3709d2e02bf67ccc272e1f2311e5db125a922ba0)
2012-09-24 18:59:54 -07:00
Jeff Forcier 43f8236063 Changelog re #40
(cherry picked from commit c27915d55182cfa22c517c2d6d887316fc89c80a)
2012-09-24 18:59:50 -07:00
Jeff Forcier f8bb0433a2 Travis integration
(cherry picked from commit 4cb9fed74bbde4730d2901dde4adb7cb47ae796a)
2012-09-24 18:59:39 -07:00
Jeff Forcier 557eb524f0 Exit correctly so test.py can be used in CI
(cherry picked from commit d516fe71ea1d8bdb7b2e278fa519f7f860d7e234)
2012-09-24 18:59:37 -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
Jeff Forcier 212fe74f09 Whitespace
(cherry picked from commit baa930eb583b65938cfcfa272a1eb2af12df3502)
2012-09-24 18:59:09 -07:00
Jeff Forcier 88df2ac180 Changelog re #11
(cherry picked from commit c8e76e3a801098ecfec02fe52cd83bb7fab9f19a)
2012-09-24 18:59:04 -07:00
Jeff Forcier 66118cad83 Improve unknown-server exception language
Fixes #11
(cherry picked from commit 01ab79211c3aeeb8dd55dafff3ce7b3a77844ca6)
2012-09-24 18:58:59 -07:00
Douglas Turk 681a465f32 Handle/fix handling of EINTR errors in a few places.
(cherry picked from commit 351bdb72e539c373985e108c89f61839f3acdd2a)

Conflicts:
	paramiko/agent.py
	paramiko/client.py
	paramiko/transport.py
2012-09-24 18:58:54 -07:00
Jeff Forcier 7ead8d9c70 Fix unbound local variable exception
(cherry picked from commit 503d7e62602cfe3ed63a4f44fba12874a17aa199)
2012-09-24 18:56:45 -07:00