You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.rst
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,19 @@
1
1
Change Log
2
2
============
3
3
4
+
5
+
1.9.1
6
+
++++++
7
+
8
+
Fixes
9
+
-----
10
+
11
+
* Native client SCP and SFTP uploads would not handle partial writes from waiting on socket correctly.
12
+
* Native client ``copy_file`` SFTP upload would get stuck repeating same writes until killed when copying multi-MB files from Windows clients - #148
13
+
* Native client ``scp_send`` would not correctly preserve file mask of local file on the remote.
14
+
* Native client tunnel, used for proxy implementation, would not handle partial writes from waiting on socket correctly.
15
+
16
+
4
17
1.9.0
5
18
++++++
6
19
@@ -9,7 +22,7 @@ Changes
9
22
10
23
* Removed libssh2 native library dependency in favour of bundled ``ssh2-python`` libssh2 library.
11
24
* Changed native client forward agent default behaviour to off due to incompatibility with certain SSH server implementations.
12
-
* Added keep-alive functionality to native client - defaults to ``60`` seconds. ``ParallelSSHClient(<..>, keepalive_seconds=<interval>)`` to configure interval, Set to ``0`` to disable.
25
+
* Added keep-alive functionality to native client - defaults to ``60`` seconds. ``ParallelSSHClient(<..>, keepalive_seconds=<interval>)`` to configure interval. Set to ``0`` to disable.
13
26
* Added ``~/.ssh/id_ecdsa`` default identity location to native client.
Copy file name to clipboardExpand all lines: README.rst
+28-3Lines changed: 28 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ Native Code Client Features
116
116
Exit codes
117
117
***********
118
118
119
-
Once either standard output is iterated on *to completion*, or ``client.join(output)`` is called, exit codes become available in host output. Iteration ends *only when remote command has completed*, though it may be interrupted and resumed at any point.
119
+
Once *either* standard output is iterated on *to completion*, or ``client.join(output)`` is called, exit codes become available in host output. Iteration ends *only when remote command has completed*, though it may be interrupted and resumed at any point.
120
120
121
121
.. code-block:: python
122
122
@@ -178,10 +178,35 @@ To log output without having to iterate over output generators, the ``consume_ou
178
178
[localhost] Linux
179
179
180
180
181
+
SCP
182
+
****
183
+
184
+
SCP is supported - native clients only - and provides the best performance for file copying.
185
+
186
+
Unlike with the SFTP functionality, remote files that already exist are *not* overwritten and an exception is raised instead.
187
+
188
+
Note that enabling recursion with SCP requires server SFTP support for creating remote directories.
189
+
190
+
To copy a local file to remote hosts in parallel with SCP:
SFTP is supported natively. Performance is much slower than SCP due to underlying library limitations and SCP should be preferred where possible. In the case of the deprecated paramiko clients, several bugs exist with SFTP performance and behaviour - avoid if at all possible.
0 commit comments