Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sshnet/SSH.NET

SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
https://github.com/sshnet/SSH.NET

Added tests for remote path transformations.

Added tests for PosixPath.

05e82b18134453374e742428fc90670a911bb609 authored over 7 years ago by Gert Driesen <[email protected]>
Merge branch 'scp-quoting' of https://github.com/sshnet/SSH.NET into scp-quoting

f4b0bb22b744376ba0fb8bf2a67a6a57d764a3a6 authored over 7 years ago by Gert Driesen <[email protected]>
Attempt to harden test.

55d9109276f8a8cdee38f2146566c5f59ef762fa authored over 7 years ago by Gert Driesen <[email protected]>
Fix typo.

5852a96d0283511c48a43aaf9172d69275300243 authored over 7 years ago by Gert Driesen <[email protected]>
Add example for host key validation.

4e9ceadfd3087ebb938f5355673e7d4732919542 authored over 7 years ago by Gert Driesen <[email protected]>
Remove unused fields.

9e75eef572ff889b401cc384483188b3ae754666 authored over 7 years ago by Gert Driesen <[email protected]>
Sync "legacy" project files for new sources introduced as part of PR #290.

e421e16e2996e13b66d5df7420517a7154d31402 authored over 7 years ago by Gert Driesen <[email protected]>
Renamed Quote transformation and corresponding class to ShellQuote.

Added DoubleQuote transformation.
Modified default remote path transformation for ScpClient to Do...

e434f97be5717bf705ced58b1dfd83e7e04d80a2 authored over 7 years ago by Gert Driesen <[email protected]>
Add a RemotePathTransformation property to ScpClient that can be used to control if and how a remote path should be transformed before passed on to the scp command.

This allows for a custom transformation (escaping/quoting) - that implements IRemotePathTransfor...

7dde512a9ca662d245b90ad87f28d5a981de637f authored over 7 years ago by Gert Driesen <[email protected]>
Merge branch 'develop' of https://github.com/sshnet/SSH.NET into develop

5128b16778dc80f55c8de17d3a35a10d5098e3c8 authored over 7 years ago by Gert Driesen <[email protected]>
Sync project file.

0e2d0dc25d1ad08555952a59743f0b1b70b08155 authored over 7 years ago by Gert Driesen <[email protected]>
Throw an SshException when SCP request is rejected by the remote host.

127e3f6591f7cc6ab2a2268453295e372a337026 authored over 7 years ago by Gert Driesen <[email protected]>
Move UploadTime to ScpClient.NET.cs, and sync legacy project files.

9df22e349f76462b74acfc2475fefc9de6763683 authored over 7 years ago by Gert Driesen <[email protected]>
Pass full remote file path to scp command when uploading or downloading a file, and use zero-length pass in C directive. Combined, this ensure the SCP server will reject a remote file path that points to a directory.

Fixes issue #286.

266dbaefe6c1f2bff2ea00c9ac14a246d37079d9 authored over 7 years ago by Gert Driesen <[email protected]>
Throw an SshException when SCP request is rejected by the remote host.

0f6bc56b4aad1252416a66cd091ba0e3e5910c47 authored over 7 years ago by Gert Driesen <[email protected]>
Merge pull request #288 from sshnet/issue286

ScpClient: Upload of file should fail if remote path exists as directory

4a031e08ce97780a8975cbf07194620be05e3a31 authored over 7 years ago by Gert Driesen <[email protected]>
Move UploadTime to ScpClient.NET.cs, and sync legacy project files.

84f3a28018e7c08054e1e2b3c3a6f3a465bca748 authored over 7 years ago by Gert Driesen <[email protected]>
Pass full remote file path to scp command when uploading or downloading a file, and use zero-length pass in C directive. Combined, this ensure the SCP server will reject a remote file path that points to a directory.

Fixes issue #286.

b70e21801e208df2d3f4f03662c2e7a20dd3f31e authored over 7 years ago by Gert Driesen <[email protected]>
Update tests after quoting fixes.

2d840aab35cc08b35c52815fe31847063d8585bc authored over 7 years ago by Gert Driesen <[email protected]>
ScpClient: Implement proper quoting of paths.

Fixes issue #256.

6184a0e826ce68322b2a0734feb27f0fee55af3f authored over 7 years ago by Gert Driesen <[email protected]>
Fix SL and WP compile.

522ed129b249e37770448e6f9a7b58b5a584a4d7 authored over 7 years ago by Gert Driesen <[email protected]>
Only use methods available in .NET 3.5 (and higher).

bd801990d53eabe37e0e9d7725096aba3a94e8a6 authored over 7 years ago by Gert Driesen <[email protected]>
Add support for non-ascii characters to ScpClient.

Fixes issue #281.

0a1a031fc1c33e0ecc1e293c1198501f24d30cc5 authored over 7 years ago by Gert Driesen <[email protected]>
Move past beta2.

87a45a8f52d9d53d8bf01d7784de5f3631800f97 authored over 7 years ago by Gert Driesen <[email protected]>
Prepare for 2016.1.0-beta2.

bc080e8c1ba2487728e208d6ab37be58191f0bbf authored over 7 years ago by Gert Driesen <[email protected]>
Merge pull request #277 from sshnet/develop

Merge develop changes into master to prepare for 2016.1.0-beta2

bc154e653332c67ad846b34ca8e75a305f3e8371 authored over 7 years ago by Gert Driesen <[email protected]>
Do not set DEBUG and TRACE for Release config.

b34e1c05a46b2458b45f209d774dfcfc54b5785e authored over 7 years ago by Gert Driesen <[email protected]>
SftpClient: Document that the following overloads create the specified file if it does not already exist:

AppendAllLines
AppendAllText
AppendText

8f777f1fc74660785a295364af43dbafa9404cc0 authored over 7 years ago by Gert Driesen <[email protected]>
To improve compatibility of SftpClient with System.IO.File, the following methods now use UTF-8 encoding without a Byte-Order Mark (BOM):

void AppendAllLines(string path, IEnumerable<string> contents)
void AppendAllText(string path, st...

1b21b6dd146bc1bd9edf660474dac5d78f86ade7 authored over 7 years ago by Gert Driesen <[email protected]>
SftpFileStream: Position in stream should be left untouched when clearing read buffer.

79c9a4baeadf82abf1d1b64639c88c9464bf9a2a authored over 7 years ago by Gert Driesen <[email protected]>
Merge pull request #272 from sshnet/sftpclient-setlength

SftpFileStream: Improve SetLength(long) compatibility with FileStream

68c1e59920e32da1700b53d399e07390a5c90aa0 authored over 7 years ago by Gert Driesen <[email protected]>
Sync project file.

30054463e1313de07c263ae8f831f1d66773a99d authored over 7 years ago by Gert Driesen <[email protected]>
Added more tests for SftpFileStream.SetLength(long).

9444f214619a3cc4bc3de7a48748a7e9d1ef44fc authored over 7 years ago by Gert Driesen <[email protected]>
Harden tests.

7bc67f3aca140bda524a25a41b0326b996326811 authored over 7 years ago by Gert Driesen <[email protected]>
Improve SetLength compatibility with FileStream:

* Flush any buffers before epand or shrink the stream.
* If the specified value is less than the ...

48205c7f6d0f9be17576cf1f85e163c20e7a90b6 authored over 7 years ago by Gert Driesen <[email protected]>
SftpFileStream:

Only allow Append mode when combined with write-only access.
Fixes issue #267.

c2552e4e4bfa6b9d12032452e8a5c44aa6abb314 authored over 7 years ago by Gert Driesen <[email protected]>
Do not create a List.

b4841baa10b3935f5687336a4ffc703e1dd74a62 authored over 7 years ago by Gert Driesen <[email protected]>
SftpFileStream: In Append mode, create the remote file if it does not already exist.

SftpFileStream: In Append mode, create the remote file if it does not
already exist.
Fixes issue...

f38c7ce3afc6fd47c998c5cb550d432a453a9731 authored over 7 years ago by Gert Driesen <[email protected]>
Reduce allocations.

ea36b240aaf8edc208687acf19f33e936c0d91fe authored over 7 years ago by Gert Driesen <[email protected]>
Sync project files.

e30319a8488757747724379a070e35fdfc79b807 authored over 7 years ago by Gert Driesen <[email protected]>
Move StatVfsResponse to tests.

36f94c26cc8b941d26dfaf2621bca0f589d4dc5d authored over 7 years ago by Gert Driesen <[email protected]>
Rename (I)SftpMessageFactory to (I)SftpResponseFactory.

b5486225243ac3c031f102a297e44fe63c04e522 authored over 7 years ago by Gert Driesen <[email protected]>
Remove Encoding from SubsystemSession and NetConfSession, and move it to SftpSession (as it is only used there).

Refactor creation of SFTP response messages to a SftpResponseFactory.
Implement SaveData for a fe...

e2cf28a28d95ebb754ec60e0cbeaa6bd9594f4ac authored over 7 years ago by Gert Driesen <[email protected]>
Refactor loading of a response to an extended request (SSH_FXP_EXTENDED):

Continue reading from SshDataStream instead of creating new instance for type specific part.

9ecfa0d38cddba51dcefb191094892cd4887c1eb authored over 7 years ago by Gert Driesen <[email protected]>
Added CryptoAbstraction.GenerateRandom(int length) method.

3e1dd2d345e9be2cb38bf039348abf4ff4f721e5 authored over 7 years ago by Gert Driesen <[email protected]>
Fix doc.

f90131229ad40afe58c02a9114a43a408bdafca2 authored over 7 years ago by Gert Driesen <[email protected]>
Update comments.

216f36458796932de7ff0cdb8cdc26aca049c325 authored over 7 years ago by Gert Driesen <[email protected]>
Increase initial window size for SSH channels from 2 MB to 2147483647 (2^31 - 1) bytes.

385b8a6c2807617f70fd050339019fb4bef3c867 authored over 7 years ago by Gert Driesen <[email protected]>
Use BE methods on Pack.

cc04517efd56f11c114bc4d76d3f1a46757e4d9e authored over 7 years ago by Gert Driesen <[email protected]>
Increase max. SSH packet size back to 68536 (64 KB + 3000).

7c05bd19bab68e37ac08ea544320f32d314cf497 authored over 7 years ago by Gert Driesen <[email protected]>
Fix xml doc.

ea47d9db98e0fa00efc632522b5d3c76f055cbf9 authored over 7 years ago by Gert Driesen <[email protected]>
Limit size of SSH packet to 35.000 bytes.

Improve documentation of LocalChannelDataPacketSize.

e86fd18b21fe6b22ca885c94989bfcf791cca5bb authored over 7 years ago by Gert Driesen <[email protected]>
Improve documentation of LocalPacketSize.

fa640e12a5ebdf08b7e6adacb0b14849826fa101 authored over 7 years ago by Gert Driesen <[email protected]>
Precise that we only support SSH-2.

46966d37cb7b856820d780c816956e29651d2554 authored over 7 years ago by Gert Driesen <[email protected]>
Merge pull request #199 from sshnet/sftpfilestream

SftpFileStream: No longer track write position separately

a9a38d7e94d3a7705f051ad605c44f5c67351c5d authored over 7 years ago by Gert Driesen <[email protected]>
Sync project file

55e31b1e7b6cc3c690fa32a4c6a7e395e3a349c4 authored over 7 years ago by Gert Driesen <[email protected]>
Merge remote-tracking branch 'refs/remotes/origin/develop' into sftpfilestream

bfc52294dace180839c6dbbf35aa177c42a3d4b9 authored over 7 years ago by Gert Driesen <[email protected]>
Use langversion 5 for .NET Core project.

17a9c61464f52e97bd9187e4640d191f65b620b0 authored over 7 years ago by Gert Driesen <[email protected]>
Add comment to clarify that StreamReader uses a buffer size of 1024 bytes.

b6807656927da5925fd0579dd89dc460195363bf authored over 7 years ago by Gert Driesen <[email protected]>
Avoid reading from the server twice to determine EOF.

When a server returns less number of bytes than the read buffer size, this *may* indicate that E...

5408aace90b3e3a30a4e0a7348def3a59ac8ab40 authored over 7 years ago by Gert Driesen <[email protected]>
Ensure write buffer is initialized before attempting to use it.

416f7be804e58c3ebf598fd8360c57b5ec87a10f authored over 7 years ago by Gert Driesen <[email protected]>
Merge branch 'sftpfilestream' of https://github.com/sshnet/SSH.NET into sftpfilestream

5dda8f5247e439956ae2cea729b57640b2d51216 authored over 7 years ago by Gert Driesen <[email protected]>
Harden test.

c83188a5a991b7e41c323326772262ed662c01c2 authored over 7 years ago by Gert Driesen <[email protected]>
Sync project file.

50ea405d5a65985ed4909b551852516f7c2f601c authored over 7 years ago by Gert Driesen <[email protected]>
Update Read(byte[] buffer, int offset, int count) to not write bytes to read buffer when the read buffer is empty and count is greater than the number of bytes read from the server.

Lazily initialize read and write buffer.

6fd1cc78c390dce8d502477f1825bf9dc19dafd4 authored over 7 years ago by Gert Driesen <[email protected]>
Move back to writing all read bytes to read buffer, not only those that exceed the user supplied buffer.

40efaa6e5a4c4712968b1360b7a0dba8d84ad6a7 authored over 7 years ago by Gert Driesen <[email protected]>
Update ShellStream.cs

Fix every 1025th byte being skipped

733ec56e6ebb3c5f56ba60c4cb8bf03ff09b27a8 authored over 7 years ago by JasonQG <[email protected]>
Update markdown after recent Github changes

bdec2d22f9a40a51edee26ffd303cef09786dff2 authored almost 8 years ago by Gert Driesen <[email protected]>
No longer track write position separately.

Reading from the SftpFileStream will not also affect the position at which a subsequent write wil...

bcc8def223653d6c8718c180a43b79bd75eed7a6 authored almost 8 years ago by Gert Driesen <[email protected]>
Add tests for SftpFileStream.Seek(...).

99fd7b460f11cd483e2b1956e294f5f2aa880a6b authored almost 8 years ago by Gert Driesen <[email protected]>
Revert "Update SftFileStream to work correctly with mixed Read, Write and Seek operation, complete rewrite #194"

This reverts commit 0d88ddc79ca2928663a073f468d2925a5cdeab70.

30e85138002a30a6aff7ef10b09b1ba02059505f authored almost 8 years ago by Gert Driesen <[email protected]>
Update SftFileStream to work correctly with mixed Read, Write and Seek operation, complete rewrite #194

0d88ddc79ca2928663a073f468d2925a5cdeab70 authored almost 8 years ago by olegkap <[email protected]>
Attempt to harden test.

d93f064c0f22b5f4a794bab0832fe0f46acfc072 authored almost 8 years ago by Gert Driesen <[email protected]>
Added test to verify that dispose has completed.

5f1494f09e99e8a3473361aaf5cc8f0cc9bd6955 authored almost 8 years ago by Gert Driesen <[email protected]>
Merge branch 'develop' of https://github.com/sshnet/SSH.NET into develop

ff68b3810977ca0ebd83dd1741bcb8bdfa73ad66 authored almost 8 years ago by Gert Driesen <[email protected]>
Enable HandleShouldHaveBeenClosed test.

f6daa4dfa6b6c33073ee1342083be67ef74bd155 authored almost 8 years ago by Gert Driesen <[email protected]>
Update README.md

6cb91f600dec2008dd3b4320f57949a6da6590f3 authored almost 8 years ago by Gert Driesen <[email protected]>
Sync .NET 3.5 test project file, and remove usage of string interpolation.

b3e704b404f630056faaebb2c585a87cac13bf0b authored almost 8 years ago by Gert Driesen <[email protected]>
Update tests now that we reject invalid combination of FileMode and FileAccess.

Remove duplicate tests.

14b571fdd4d7020060cf3c502e41f1d19125dbf3 authored almost 8 years ago by Gert Driesen <[email protected]>
Move null check into FEATURE_THREAD_THREADPOOL section.

ff78430ed481550aa744295b960afa6d67391b69 authored almost 8 years ago by Gert Driesen <[email protected]>
Merge pull request #186 from agayardo/develop

Fix for recently introduced regression in SftpFileStream.Read(...).

04ca23176a2b4ce0a2ce05db80d2c65b530ac588 authored almost 8 years ago by Gert Driesen <[email protected]>
Added test for recently introduced regression that is fixed by PR #186.

d3635d18fa68b54412df98ebd2199ce7bb63a0d6 authored almost 8 years ago by Gert Driesen <[email protected]>
Added tests for issue #191, and update tests for issue #154.

08b2d05ed8214c469d14a2be90c193e5de3e9dc4 authored almost 8 years ago by Gert Driesen <[email protected]>
Throw ArgumentException for invalid combinations of FileMode and FileAccess.

Fixes issue #191.

40e106828df70a12a812120758194d03ef6a58fe authored almost 8 years ago by Gert Driesen <[email protected]>
In the SftpFileStream ctor, only obtain file attributes when mode is Append and no longer keep the result as instance field.

Update Seek to only obtain file attributes when SeekOrigin is End.
Update SetLength to obtain ser...

4b85e78e3cc5d912516b0b92ae77da89f14e7c0c authored almost 8 years ago by Gert Driesen <[email protected]>
Unit test fix.

c2bd7b5171d2ccce0780774f283effd2bf13b84d authored almost 8 years ago by Artem Gayardo-Matrosov <[email protected]>
Fix for data corruption when reading to a buffer that is smaller than the

internal buffer.

68dded538685c6ac1ec299e0f0af68d5fc23af04 authored almost 8 years ago by Artem Gayardo-Matrosov <[email protected]>
Eliminate intermediate copy to read buffer.

c8373c978fc056b4f05db2a36ee028505b9ecda6 authored almost 8 years ago by Gert Driesen <[email protected]>
Only write to the read buffer if we actually received data.

4e2bd636604da02ec179f9be31c9d4d1e4125372 authored almost 8 years ago by Gert Driesen <[email protected]>
Move on :p

391a41c35dd3a1b1983ffb42ed2a4f0d60cebbbc authored almost 8 years ago by Gert Driesen <[email protected]>
Only copy the actual number of bytes received to the buffer.

Fixes issue #173.

98aba4920d210bdeb19e2e4c70e1e8c5e58843f6 authored almost 8 years ago by Gert Driesen <[email protected]>
Added ExecuteThreadLongRunning.

c3927660cf683d90219c088315846102732b08b2 authored almost 8 years ago by Gert Driesen <[email protected]>
Use length of actual hash.

178512c998f754626ff579ecb7027cc313289be8 authored almost 8 years ago by Gert Driesen <[email protected]>
Add Pack to project files.

932f36fd86d9cd611a913dba375b354abeeaa4cb authored almost 8 years ago by Gert Driesen <[email protected]>
Identify future optimization.

847119fd87eeac98bfd299b94b19ad4b283a9937 authored almost 8 years ago by Gert Driesen <[email protected]>
Use Monitor.PulseAll to ensure we signal all waiting threads.

73437578c8412038ecba4ddfa02bdbaa6430708f authored almost 8 years ago by Gert Driesen <[email protected]>
Fix warning.

58ab5b8c2ae7a894c915d88cd6964db90eb64980 authored almost 8 years ago by Gert Driesen <[email protected]>
Use packing methods from newly introduced Pack class.

1c288485edf1352ca6f4bd9f93557c5cc110ca33 authored almost 8 years ago by Gert Driesen <[email protected]>
Added tests for Reverse.

9ca3880c29049b4dcc706015a49d60d6e71059d3 authored almost 8 years ago by Gert Driesen <[email protected]>
Formatting.

b73d2e1ea8e12688a4fa0d95e946adcf28d4830d authored almost 8 years ago by Gert Driesen <[email protected]>