Commit Graph

140 Commits

Author SHA1 Message Date
olegkap_cp 61a8edead9 Fix possible nullable path (breaking change from previouse checking)
Fix disconnect logic to avoid ObjectDisposed exception
2011-05-11 21:40:51 +00:00
olegkap_cp 2f42d5a31e Complete previouse renaming checking
Minor fixes that was recenty broken earlier
Apply some FxCop recomendation
2011-05-11 19:49:06 +00:00
olegkap_cp 5ede55515a Project reorganization and renaming to Renci.SshNet 2011-05-11 19:48:16 +00:00
olegkap_cp 0854d152db Some cosmetic changes
Fixes suggested in issue #703
Add tests for implemented issues
2011-05-11 14:52:23 +00:00
olegkap_cp 223b1fd909 Add new default when creating shell and another shortcut 2011-05-10 15:11:25 +00:00
olegkap_cp cbeebdff00 Fix SftpSession.Dispose method 2011-05-10 14:27:08 +00:00
olegkap_cp 53661ef847 Restore timeout for any operation that waits for server response 2011-05-10 14:03:04 +00:00
olegkap_cp 2348be8875 Additional fix to Shell stopping 2011-05-09 17:26:12 +00:00
olegkap_cp 20b164cf32 Throw an exception if authentication method is not supported by the server 2011-05-09 15:27:43 +00:00
olegkap_cp 10f2ff2624 Add PipeStream class to handle command output
Improve Shell input and output streams
2011-05-09 14:19:08 +00:00
olegkap_cp 20fb009c84 Add Get function to get reference to SftpFile instnace that represents remote file or directory 2011-05-05 18:26:29 +00:00
olegkap_cp 99bddc38e7 Fix Shell from hung when Stop is called 2011-05-05 15:18:28 +00:00
olegkap_cp 30624c5366 Handle SSH_MSG_USERAUTH_BANNER prior establishing secure connection 2011-05-05 15:08:35 +00:00
olegkap_cp 3712b27080 Ensure that socket is disposed by only one thread. 2011-04-20 14:23:35 +00:00
olegkap_cp 382f9c8c26 Fix disposing of Socket object 2011-04-19 19:16:28 +00:00
olegkap_cp c2e8506808 Adding support for more cryptographic algortihms : blowfish-cbc, cast128-cbc, aes128-ctr, aes192-ctr, aes256-ctr
Prepare classes for future implementation of other algorithms
2011-04-14 16:33:48 +00:00
olegkap_cp dc87042ff5 Fix shell byte output 2011-03-24 18:23:28 +00:00
olegkap_cp e5624cdc5d SshPassPhraseNullOrEmptyException and test added 2011-03-08 15:15:24 +00:00
olegkap_cp 635f23fb02 Add IDisposable interface to SftpCommand and dispose of all SftpCommand to prevent Memory leak 2011-03-07 15:44:13 +00:00
olegkap_cp ed28543ce9 Allow SSH_MSG_DISCONNECT and SSH_MSG_IGNORE messages during key exhange phase 2011-02-22 15:20:03 +00:00
olegkap_cp c2b45f0eca Perfomance improvments
Remove GetSshString and GetBytes extenstion method
     Use byte[] vs IEnumerable<byte>
     Other minor changes to improve performance
Fix SFTP synch issue
Update some tests
2011-01-31 21:25:14 +00:00
olegkap_cp 12a323c093 Fix path resolution and implement it the way PUTTY does
Fix Test_Sftp_Upload_Forbidden test
Add Test_Sftp_Download_File_Not_Exists Test
Add Test_Sftp_Change_Directory test
2011-01-22 00:36:40 +00:00
olegkap_cp c391b54b60 Close file handle when download is completed. 2011-01-12 21:44:32 +00:00
olegkap_cp ea575472a0 Fix reusing command object to execute different commands.
Add Test_Execute_Command_Same_Object_Different_Commands test
2011-01-10 18:19:30 +00:00
olegkap_cp e488bc516e Add ErrorOccured to BaseClient to allow catching of exceptions that happened on the other thread
Fix SymbolicLink method
Minor changes
2011-01-05 23:12:10 +00:00
olegkap_cp 24b902f27b Update SftpFile with new properties and added functionality
Fix directory navigation and full path name resolution
2011-01-04 22:36:07 +00:00
olegkap_cp a98604bce3 Fix more memory leak problem, now repeat execution of SshCommand doesnt cause memory leak over time;
Other minor fixes.
2011-01-03 19:41:07 +00:00
olegkap_cp c4d21cf3fd Fix previose checking "Null reference exception" 2011-01-02 06:39:36 +00:00
olegkap_cp c5806a42b0 Internal KeyExchange refactoring to improve precious fix
Rework channel closing logic to work more like putty does so it could be supported by more servers
Handle SSH_FXP_EXTENDED message
Temporary remove ChangePermissions, ChangeGroup and ChangeOwner methods as they not tested yet and not working
Add more attributes to the SftpFile to indicate diffrent information stored in permission filed.
Fix memory leak problem
2011-01-02 06:30:11 +00:00
olegkap_cp 5c535899db Change sequence of sending NEW_KEYS message, some servers would hang during key negotiation stage 2010-12-30 19:58:16 +00:00
olegkap_cp a9c7addecd Reorganize SFTP functionality and add some methods to replicate sftp utility as close as possible
Add SFTP Tests
Other minor fixes
2010-12-29 21:56:21 +00:00
olegkap_cp 9f7a13a24f Fixes and improvments to Port Forwarding feature
Add BoundHost property to allow to specify which IP to bind to when multiple IP addresses available instead of only localhost
     Fix originator address and port to be send correctly instead of 0.0.0.0
     Add RequestReceived event which raised when request is received on forwaded port.
     Fixing misc errors
2010-12-28 21:08:28 +00:00
olegkap_cp 54eb96d513 Checking documentation project file with previously unsaved data 2010-12-28 17:58:09 +00:00
olegkap_cp 231e4d1c34 Add SSH Forwarding into documentation 2010-12-28 16:51:18 +00:00
olegkap_cp c46b70f7f0 Add initial documention project files 2010-12-28 16:20:22 +00:00
olegkap_cp 9a75f08668 Add new CreateCommand method to create new command with specified encoding. 2010-12-28 15:55:29 +00:00
olegkap_cp a1b4d08009 Add Test_Execute_Infinite_Timeout test
Refactor SSH Message type mapping (based on name instead of concreate type)
Clean up some TODO items
2010-12-28 03:46:45 +00:00
olegkap_cp 8c8f4acc47 Fix Command infinite default timeout. 2010-12-27 20:04:57 +00:00
olegkap_cp 51b84079e2 Delete Messagees\Sftp and \Documentation folders
Change CommandTimeout property type to TimeSpan
Add Test_Execute_Timeout test
Add XML comments to public and protected methods and classes
2010-12-27 02:10:31 +00:00
olegkap_cp 7297259e21 Remove MessageTypes enum and reorganize message to use class attributes to allow handling of messages with the same code number and more easliy to intorduce new messages in the future 2010-12-25 05:57:34 +00:00
olegkap_cp 792fcbf70a Temporary remove documentation project while workin on it 2010-12-24 21:07:02 +00:00
olegkap_cp 3056ee70c4 Merge UserAuthentication*** functionality into ***ConnectionInfo classes to avoid dublication to prepare for easir authentication method extnetions
Move Authentication related events into ConnectionInfo class
Remove Authentication method from the client
Minor code changes to fix some CA warnings
2010-12-24 13:58:19 +00:00
olegkap_cp ad100df7b8 Add KeyboardInteractiveConnectionInfo class for use with Keyboar interactive authentication method 2010-12-24 04:20:33 +00:00
olegkap_cp 8bd42a06f1 Add some documentation content file to start creation of CHM help file 2010-12-23 21:06:07 +00:00
olegkap_cp 2303affe79 Send SSH_MSG_IGNORE message when implementing keep alive instead of fake global request 2010-12-22 22:37:32 +00:00
olegkap_cp 1e539de36a Complete SSH_MSG_CHANNEL_REQUEST send message functions for different requests
Refactor to have all messages to have private setters
Some code cleanup
2010-12-22 22:16:38 +00:00
olegkap_cp 21794bf6d1 Add KeepAliveInterval to send keep alive message autmaticlly
SendDisconnect messge when Session is being disposed
2010-12-22 20:06:16 +00:00
olegkap_cp 8aa21ae400 Add AuthenticationEventArgs inherited classes to suport different authentication scenarios where user input is needed or additional information is available 2010-12-22 18:44:22 +00:00
olegkap_cp f0422f9151 Minor internal changes to UserAuthentication inherited classes 2010-12-22 05:03:58 +00:00
olegkap_cp cdf4e52365 Remove Connecting and Connected events as they are useless
Move algorithms definition into ConnectionInfo class
Add PasswordConnectionInfo and PrivateKeyConnectionInfo classed and inherit from ConnectionInfo to allow future addition of different authentication methods
2010-12-22 03:00:28 +00:00