Commit Graph

  • 07a909357d olegkap_cp 2013-01-02 17:11:24 +00:00
  • ea3c5bd09e Delete unused files olegkap_cp 2013-01-02 17:04:26 +00:00
  • 485c36d70c Restracture test case classes olegkap_cp 2013-01-02 17:02:14 +00:00
  • 3b3c3f7be4 Change DEFAULT_PORT from test 2222 to production 22 olegkap_cp 2013-01-01 16:28:48 +00:00
  • 2faf1a229d Fix connection to the proxy olegkap_cp 2013-01-01 16:01:20 +00:00
  • 83f3f63c21 Add ConnectionInfo.DEFAULT_PORT to be used as default port instead of static olegkap_cp 2013-01-01 15:47:36 +00:00
  • dff6259475 Cleanup some TODO and UNDONE comments olegkap_cp 2012-12-30 04:12:09 +00:00
  • 80687da472 REstore test server names for test projects olegkap_cp 2012-12-28 18:12:46 +00:00
  • 9ea1ed5940 Clean up Debug.WriteLine olegkap_cp 2012-12-28 16:37:24 +00:00
  • 2c9928aa1e Add couple more extended requests for future support olegkap_cp 2012-12-28 16:35:56 +00:00
  • 503cb0c062 Add some SFTP messages for future support olegkap_cp 2012-12-28 15:35:47 +00:00
  • 0923fb8db1 Refactor usage of extened requests olegkap_cp 2012-12-28 15:18:17 +00:00
  • 44b447afc4 Refactor SFTP to prepare for multiple SFTP version support and add suport for versions 0 thru 3 olegkap_cp 2012-12-28 14:33:36 +00:00
  • 086936aa6b Refactor key exchange and add new KeyExchangeDiffieHellmanGroupSha1 base class for easy extenstion to new new groups Add new StatusCodes to SFTP for possible future support olegkap_cp 2012-12-28 13:15:15 +00:00
  • cd3b0ca17a Fix handling of SftpFileAttributes Now only attributes that changed will be updated Fix error with changing permission for directory olegkap_cp 2012-12-28 01:01:05 +00:00
  • c9ae7f44fd Add callback parameters to UploadFile, DownloadFile and ListDirectory methods to allow easy way to report progress olegkap_cp 2012-12-27 16:13:29 +00:00
  • 0124ab2fee Refactor InternalUploadFile Update SftpUploadAsyncResult with actual number of bytes that was already written to the server olegkap_cp 2012-12-27 14:43:13 +00:00
  • 9125534cff Refactor WaitAny handle Add ability to specify password as byte array which can be cleaned up later for security reasons olegkap_cp 2012-12-27 02:31:18 +00:00
  • 6852e6d2a9 Refactor RequestWrite method to write one block at a time Add request synchronization for SftpWrite operation which should resolve issue of wrong or incomplete data to be written Restrict SftpFileStream buffersize to maximum of 16KB. olegkap_cp 2012-12-26 17:13:07 +00:00
  • 78634e3b1c Add HostKeyName property to HostKeyEventArgs olegkap_cp 2012-12-21 15:10:56 +00:00
  • 58c0a23fa9 Add locking in ShellStream Read function olegkap_cp 2012-12-21 13:52:31 +00:00
  • 9dbd001bad Fix synchronization exception olegkap_cp 2012-12-21 01:37:35 +00:00
  • db3244a3f9 Remove -q flag from SCP commands to avoid crush on systems that do not support it olegkap_cp 2012-12-21 00:23:01 +00:00
  • 55eb9bfc4b Add Silverlight5 and WindowsPhone8 projects olegkap_cp 2012-12-20 21:38:35 +00:00
  • ef584b16f6 Fix cleanup of SftpFileStream. olegkap_cp 2012-12-20 19:33:19 +00:00
  • 43358247a5 Fix socket locker to different object since socket can become null at some point Apply 12489 patch olegkap_cp 2012-12-20 18:16:48 +00:00
  • e738ebfb1e Add Support for SFTP posix-rename@openssh.com and statvfs@openssh.com requests Partially apply 12705 patch olegkap_cp 2012-12-20 17:18:56 +00:00
  • 2e400ef632 Support multiple chunks in NetConf. Apply 13499 Patch olegkap_cp 2012-12-20 16:03:39 +00:00
  • f08c14e0f6 Fix channel cleanup when disposed. olegkap_cp 2012-12-20 14:46:15 +00:00
  • d8fbf2c81b Fix SCP to allow specify folder/path as destination when coping files olegkap_cp 2012-12-20 13:33:40 +00:00
  • 09763a591e Code Cleanup olegkap_cp 2012-12-20 05:33:31 +00:00
  • 41bb6920d0 Fix AES-256-CBC SSH private key decryption Restore silverlight compatibility olegkap_cp 2012-12-20 01:41:43 +00:00
  • d551995eb6 Change default buffer size from maximum allowed to 16KB to avoid several buffer related errors olegkap_cp 2012-12-20 00:48:37 +00:00
  • 67c90147df Throw an exception if connection could not be established olegkap_cp 2012-12-19 20:51:15 +00:00
  • d0241f5853 Fix ShellStream Expect method that causes application to hang olegkap_cp 2012-12-19 20:44:51 +00:00
  • 53a02ed5de Throw SshOperationTimeoutException when reading from the socket takes long time olegkap_cp 2012-12-19 20:30:09 +00:00
  • 702af15a59 Apply 13061 patch olegkap_cp 2012-12-19 20:07:06 +00:00
  • ba39209723 PortForwarding minor changes Apply 13243 with minor changes olegkap_cp 2012-12-19 19:54:49 +00:00
  • b0c5dc5ff1 Restore usage of SVN for some projects olegkap_cp 2012-12-19 19:26:21 +00:00
  • a89085dc5a SynchronizeDirectories refactoring and other minor changes olegkap_cp 2012-12-19 19:11:36 +00:00
  • 552a9f0cc3 Fix partial authentication error olegkap_cp 2012-12-19 17:08:32 +00:00
  • d89e0e055e Improve PortForwarding and disconnect olegkap_cp 2012-12-19 16:44:58 +00:00
  • 6d91b38cae Increase private key file line size to from 76 to 80 to support amazon keys olegkap_cp 2012-12-19 16:00:26 +00:00
  • eccad7648f Incorporate changes made by da_rinkes Add support for AES-128-CBC, AES-192-CBC and AES-256-CBC encrypted keys olegkap_cp 2012-12-19 15:57:16 +00:00
  • 39b3df8453 1. Compare the specified local directory and destination directory. 2. Upload the difference from the local directory to destination directory. diehardvn_cp 2012-11-29 22:45:27 +00:00
  • 0bbeb3e32b Upgrade: New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link: http://go.microsoft.com/fwlink/?LinkId=254563 [TFS11]\Project Collection Service Accounts 2012-10-01 20:45:27 +00:00
  • 4f4cf9cecb Checked in by server upgrade [TFS11]\Project Collection Service Accounts 2012-10-01 20:44:38 +00:00
  • 2a63e560e7 Wrapped re-thrown exception into SshException(ex.Message, ex). Kenneth_aa_cp 2012-09-13 06:12:54 +00:00
  • b97462ff45 Added test placeholder for users having problems with GlobalSCAPE Secure FTP Server. Kenneth_aa_cp 2012-09-13 05:14:26 +00:00
  • 7332af534c Change default buffer size from 1024 * 32 - 38 to 1024 * 32 - 52 olegkap_cp 2012-09-12 17:43:48 +00:00
  • bf2e1521e0 Fix for PrivateKeyFile constructor locks file unnecessarily olegkap_cp 2012-09-12 17:39:45 +00:00
  • cca71cb672 Added a comment regarding exception thrown when local socket is dead, as it shows up as first-chance exception in the output window. Kenneth_aa_cp 2012-09-11 12:10:03 +00:00
  • 5741c0c198 Preliminary test for DerData.cs Kenneth_aa_cp 2012-09-10 17:22:00 +00:00
  • 692ec03184 Fix SocketReadLine to handle case when server starts and only 0 are returned olegkap_cp 2012-08-10 18:52:49 +00:00
  • 5de39cb104 Fix for server drops connection olegkap_cp 2012-08-10 18:44:34 +00:00
  • b1af0fc92b Fix GlobalRequestMessage to be able to handle other custom messages olegkap_cp 2012-08-10 18:34:10 +00:00
  • 729ce19b6b Update Renci.SshNet.Tests.NET35 project to split .NET40 specific test into seperate file which will be compile in .NET 4.0 only olegkap_cp 2012-06-18 17:35:06 +00:00
  • 72df8fad29 Enclode filename in quotes for SCP operation as recomended olegkap_cp 2012-06-18 13:21:54 +00:00
  • 82df302b47 Dont handle sessiosn events if object being disposed (missed SshCommand class) olegkap_cp 2012-06-08 17:15:07 +00:00
  • 0896f4acdf Dont handle sessiosn events if object being disposed olegkap_cp 2012-06-08 17:10:59 +00:00
  • 908321c502 Fix IsConnected property behaviour Fix SocketReadLine if 0 bytes received olegkap_cp 2012-06-06 13:11:00 +00:00
  • 3581389dd6 When ChannelDirectTcpip Close method is called, make sure Socket is closed too. olegkap_cp 2012-05-10 15:57:47 +00:00
  • 7fd452a678 Ensure only one SSH_MSG_CHANNEL_CLOSE message per channel is sent olegkap_cp 2012-05-10 13:44:00 +00:00
  • 9f521bd66b Add support for SSH2 ENCRYPTED keys (encrypted SSH2 keys not yet supported) olegkap_cp 2012-05-09 19:55:08 +00:00
  • 1d9a223d24 Add timeout to expect functions olegkap_cp 2012-05-04 14:10:32 +00:00
  • 5bc788f3c8 Missed a reference to Renci.SshNet.content! Kenneth_aa_cp 2012-05-02 04:55:26 +00:00
  • 91c57873a2 Renamed Renci.SshClient.content to Renci.SshNet.content. Renamed SshClient.shfbproj to SshNet.shfbproj. Updated references in Renci.SshNet.csproj. Kenneth_aa_cp 2012-05-02 04:45:01 +00:00
  • 3c11effb80 Removed some entries caused error for Sandcastle. Kenneth_aa_cp 2012-05-02 04:29:50 +00:00
  • 184963f8c5 Add timeout for some waiting operations olegkap_cp 2012-05-01 12:42:30 +00:00
  • af05714f97 Updated documentation for exceptions. Kenneth_aa_cp 2012-05-01 09:22:42 +00:00
  • cefb74bf1e Added test cases for SOCKS4, SOCKS5 an HTTP proxies for SftpClient and SshClient. Kenneth_aa_cp 2012-04-30 10:13:17 +00:00
  • 3be0eaf09b Fixed BUG from revision 16218. Changed ConnectionInfo so if ProxyType is set to None, constructor will not validate proxy parameters (host, port specifically), and when set to ProxyType.None, host, username and password is set to null in the other constructors - instead of string.Empty. Added test, and special notes for Workitem 1140: SftpClient.IsConnected property does not get set to False after call to Disconnect() Kenneth_aa_cp 2012-04-29 07:13:08 +00:00
  • df25d5ace0 Fixed a bunch of comment Warnings. Left Zlib and NetConfClient as is for now. Kenneth_aa_cp 2012-04-29 06:49:03 +00:00
  • 25816b1dd7 ConnectionInfo.cs:235 - Removed ! infront of IsNullOrEmpty in final constructor. Added alot of documentation. Added alot of parameter checks. Added alot of tests. Kenneth_aa_cp 2012-04-28 19:46:09 +00:00
  • b81427b86b Added parameter check and documentation for ScpClient.Download(string,Stream). Kenneth_aa_cp 2012-04-28 07:37:38 +00:00
  • ea12efff5b Added valid 'authorized_keys' file for those who want to verify the key exchange works. Kenneth_aa_cp 2012-04-28 07:26:40 +00:00
  • 8ac242d197 Add ServerVersion and ClientVersion to the ConnectionInfo olegkap_cp 2012-04-13 12:49:52 +00:00
  • fb2e907d73 Fix ReadUInt64 olegkap_cp 2012-04-04 17:44:41 +00:00
  • 08aaf634c3 Add KeyLength property to HostKeyEventArgs olegkap_cp 2012-03-06 19:14:58 +00:00
  • 628ce8bb37 Fix SocketReadLine to be able to read empty line Add support for HTTP Proxy Improve support for multiple authencation methods olegkap_cp 2012-02-29 20:59:40 +00:00
  • 3f1fef6faa Fix authentication constructors Provide more ConnectionInfo default constructors. olegkap_cp 2012-02-28 19:18:31 +00:00
  • bc2fb5bedc Add support for multiple authentication methods Minor comment fixes olegkap_cp 2012-02-28 19:00:57 +00:00
  • 62ae94d39a Make placeholders for HTTP proxy support Fix compilation error for Silverlight and WindowsPhone olegkap_cp 2012-02-27 16:36:53 +00:00
  • 432d640930 Fix SocketReadLine from previouse checkin olegkap_cp 2012-02-25 01:38:17 +00:00
  • 8d3ae9cede Fix paddedBlock calculation olegkap_cp 2012-02-24 19:12:38 +00:00
  • d2eeca4d6d Fix Regex for private keys to accept keys with longer lines (for example Amazon services) olegkap_cp 2012-02-24 18:37:43 +00:00
  • 9ea9564e4b Improve ShellStream to behave like a regular Stream olegkap_cp 2012-02-24 18:26:56 +00:00
  • 98c64c4d9a Fix SocketReadLine to read only required information olegkap_cp 2012-02-24 14:00:18 +00:00
  • 08bf294958 Refactor ShellStream Add Expect functionality For usage examples see: http://sshnet.codeplex.com/discussions/301739 olegkap_cp 2012-02-21 04:26:55 +00:00
  • 6b3e11b24b Changed a bunch of things around, seems to function as intended. Need to (re)add support for enforcing a buffer limit and perahps a line timeout. GiantJunkBox_cp 2012-02-19 00:20:32 +00:00
  • 9030a146a3 Fews other Dispose to Clear changes for Mono support olegkap_cp 2012-02-13 14:31:49 +00:00
  • 3731cb3445 Intoroduce TerminalModes enum and ability to provide it when creating shell Replace Dispose call with Clear to make it compilabel under mono Add Expect function to ShellStream (partially working not completly tested) olegkap_cp 2012-02-13 14:26:57 +00:00
  • f27e8e19c7 Ensure random number generation doesnt go into infinite loop olegkap_cp 2012-02-10 18:54:26 +00:00
  • 9f82f4bb4d Replace Dispose with Clear to make it compilable in Mono Fix posible memory leak in HMac olegkap_cp 2012-02-10 18:41:39 +00:00
  • 0203a453b0 Switch to Subversion olegkap_cp 2012-02-10 18:16:29 +00:00
  • 4cce9425cb Add CreateShellStream method and ShellStream class to work with shells Make aes256-ctr encryption to be default one olegkap_cp 2012-02-10 17:26:34 +00:00
  • f8faabddda Fix WindowAdjusment for SCP and SFTP Fix Key regeneration Minor comments and other fixes Add Current* properties to ConnectionInfo object to specify parameters that currently by the connection olegkap_cp 2012-01-24 14:48:04 +00:00
  • 307491da2d Fix null buffers when using proxy to connect olegkap_cp 2012-01-20 14:36:53 +00:00
  • cfa1a7028b Refactor PortForwarding Fix ChannelDirectTcpip clean up after socket is close by remote host Add ForwardedPortDynamic to support dynamic forwarding, SOCKS4 and SOCKS5 are supported. olegkap_cp 2012-01-06 18:57:48 +00:00
  • 81b9e21b8f Remove quotes when using SCP to download or upload olegkap_cp 2012-01-04 18:14:40 +00:00