summaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2016-12-05Support transmission of environment variablesPhilip Lorenz
The SSH protocol allows the client to transmit environment variables to the server. This is particularly useful if the user wants to modify the environment of an executed command without having to reexecute the actual command from a shell. This patch extends the Client and Channel interface to allow the transmission of environment variables to the server side. In order to use this feature the SSH server must accept environment variables from the client (e.g. the AcceptEnv configuration directive of OpenSSH). FROM BITPROPHET: backport cherry-pick to 1.x line
2016-06-12Merge branch '1.16' into 1.17Jeff Forcier
2016-06-12Update fake test socket objects to exhibit Python 3 socket-closed flagJeff Forcier
Re #520
2016-06-09Merge branch '1.16' into 1.17Jeff Forcier
2016-06-09Issue #537 reproduction test and fixKrzysztof Rusek
2016-04-25Merge branch '1.16' into 1.17Jeff Forcier
2016-04-25Merge branch '1.15' into 1.16Jeff Forcier
2016-04-25Test & implementation for part 1 re: #670Jeff Forcier
2016-04-24Merge branch '1.16'Jeff Forcier
2016-04-24Python 2.6 fix re: assertInJeff Forcier
2016-04-24Improve NoValidConnectionsError formattingMarius Gedminas
Because "Unable to connect to port 22 on or X.X.X.X" looks seriously _weird_ with the blank space between "on" and "or".
2016-04-24Make NoValidConnectionsError picklable correctlyMarius Gedminas
Fixes #617.
2016-04-23Merge branch '1.16'Jeff Forcier
2016-04-23Merge branch '1.15' into 1.16Jeff Forcier
2016-04-23Update existing test to prove #632Jeff Forcier
2016-04-23Add regression test protecting against an issue found in #394.Jeff Forcier
Putting it in prior to merge of #394 because it also serves as a good explicit test of behavior which was previously implicit
2016-04-23Set look_for_keys=False in client tests to avoid loading real user keys.Jeff Forcier
Re #394 but also feels like good practice anyways
2016-04-22Merge branch '1.15' into 1.16Jeff Forcier
2016-04-22Merge branch '1.16'Jeff Forcier
2016-04-22Hack in a sleep() to avoid race conditions during timeout test.Jeff Forcier
(HOPEFULLY) closes #612
2016-01-19Merge branch '1.15' into 1.16Jeff Forcier
2016-01-19Merge branch '1.16'Jeff Forcier
2016-01-19Merge branch '1.14' into 1.15Jeff Forcier
2016-01-19Merge branch '1.13' into 1.14Jeff Forcier
2016-01-08Update SSHConfig.parse to strip leading and trailing whitespaceNick Pillitteri
Fixes #499
2015-12-17Merge branch 'master' of github.com:paramiko/paramikoAdam Meily
Conflicts: paramiko/sftp_file.py sites/www/changelog.rst
2015-11-06Merge branch '1.15' into 1.16Jeff Forcier
2015-11-06Hacky cleanup of non-gc'd clients in a loopy test.Jeff Forcier
Re #612
2015-11-06Hacky cleanup of non-gc'd clients in a loopy test.Jeff Forcier
Re #612
2015-11-04Merge branch 'master' into 562-intJeff Forcier
2015-11-03Merge branch 'master' into 502-intJeff Forcier
2015-11-02Merge branch '1.15'Jeff Forcier
2015-11-02Merge branch '1.14' into 1.15Jeff Forcier
2015-11-02Merge branch '1.13' into 1.14Jeff Forcier
2015-11-02Added test for str() of empty SFTPAttributes()Ulrich Petri
2015-10-30Merge branch 'master' into 596-intJeff Forcier
2015-09-30Merge branch '1.15' into 491-intJeff Forcier
2015-09-30Silently ignore invalid keys in HostKeys.load()Martin Topholm
When broken entries exists in known_hosts, paramiko raises SSHException with "Invalid key". This patch catches the exception during HostKeys.load() and continues to next line. This should fix #490.
2015-09-24add unit tests for file-like object methods and update changelog and docsAdam Meily
2015-07-23prefetch now requires file_size to be passed in as a parameterTorkil Gustavsen
Calling stat from inside the prefetch-body has led users to receive IOError: The message [<filename>] is not extractable.
2015-03-20Commit 838e02ab42 changed the type of the exec command string on python3Anselm Kruis
from unicode to bytes. This commit adapts the test suite accordingly.
2015-03-20According to RFC 4254 sec 6.5 the "command" string of an "exec" channelAnselm Kruis
request is a byte-string. Previously paramiko assumed "command" to be UTF-8 encoded. Invalid UTF-8 sequences caused an UnicodeDecodeError. This commit changes a test case to uses a non UTF-8 string and fixes the bug.
2015-02-24Expose handshake timeout in the transport API.Olle Lundberg
This is a reimplementation of #62.
2015-01-26Revert add_int and get_int to strictly 32-bits and add adaptive versionsScott Maxwell
2014-12-17Suggest a MIN_WINDOW_SIZE and MIN_PACKET_SIZEJeff Quast
Not fully confident with this change, though I will describe my findings fully in the pull request. The OpenSSH client requests a maximum packet size of 16384, but this MIN_PACKET_SIZE value of 32768 causes its request to be "clamped" up to 32768, later causing an error to stderr on the OpenSSH client. Suggest then, to delineate MIN_WINDOW_SIZE from MIN_PACKET_SIZE, as they are applied. I don't think there is any minimum value of MIN_PACKET_SIZE, however we can suggest a value of 4096 for now.
2014-12-17Merge branch '1.14' into 1.15Jeff Forcier
Conflicts: sites/www/changelog.rst
2014-12-17Merge branch '1.13' into 1.14Jeff Forcier
2014-12-17Refactoringachapp
Added comments. Removed fifth line from test because it was unnecessary since the final line could be used instead.
2014-12-17new readline test passesachapp
Changed file.py readline() to always check for a newline. Had to make a few changes for what went into self._rbuffer in the case where buffer size was met or exceeded and we found a newline.
2014-12-17Test update/Fix progress temp saveachapp
Edited test to catch readline error. file.py code change in progress (DOES NOT WORK PROPERLY) so saving it temporarily.