Commit Graph

78 Commits

Author SHA1 Message Date
olegkap_cp 96656ec792 Minor changes to how PrivateKey file is parsed 2010-12-16 18:17:05 +00:00
olegkap_cp 04ec42133a Execute command callback on different thread
Add ConnectingEventArgs to allow more control during connection stage
2010-12-15 22:42:56 +00:00
olegkap_cp ccda04e6f1 IDisposable interface refactoring
Remove Settings class and specify suported algorithm per session to allow in future to modify supported algorithms per connection
2010-12-15 21:40:23 +00:00
olegkap_cp 4caee0d629 Make some classes public instead of internal
Add SshBasClient class and make SshClient and SftpClient to inherit from it
2010-12-15 14:11:35 +00:00
olegkap_cp c9739ac679 Fix SFTP Multiple files upload/download issue 2010-12-13 19:22:27 +00:00
olegkap_cp 1ff83b9ac9 Fix SFTP issue with multiple SFTP messages can arrive in one SSH packet
Fix HANDLE close event to notify about operation completion
2010-12-10 21:34:33 +00:00
olegkap_cp 2bbb42508b Add method KeepAlive to SshClient to allow to send dummy KeepAlive requests
Dont allow por forwarding to start or stop if its already started or stopped
2010-12-10 14:09:44 +00:00
olegkap_cp d52655cc1e Apply some CA recommendations 2010-12-09 04:35:54 +00:00
olegkap_cp cf4a9c2e5f Complete SFTP implemention with async execution support without stress testing yet 2010-12-09 04:05:29 +00:00
olegkap_cp ec7b872c0c Remove special handling of version 1.99 as it was not needed 2010-12-09 03:01:44 +00:00
olegkap_cp 0b6997f969 Partially implemented SftpClient, still missing few public methods to finish implementation 2010-12-07 05:12:58 +00:00
olegkap_cp 935d7dd40d Refactor key excahnge mechanism;
Minror channel changes
2010-11-30 20:40:40 +00:00
olegkap_cp b84ad09fd5 Temporary remove SFTP functionality while refactoring to allow asynch execution 2010-11-29 18:29:27 +00:00
olegkap_cp 4c871a0962 Fix reading Sftp Messages 2010-11-23 20:19:18 +00:00
olegkap_cp 5a8960f0d9 Fix and complete basic implementation of Shell class, allow open terminal sessions 2010-11-23 04:39:26 +00:00
olegkap_cp d8a123c9e6 Remove ChannelSessionExec functiolity into SshCommand class;
Add new exception type;
Improve error throwing and disconnection algorithm
2010-11-22 14:19:44 +00:00
olegkap_cp a6af208ae4 Add Connect*, Disconnect* and Errorccured events to Session 2010-11-21 01:30:22 +00:00
olegkap_cp 50f1a3e51e Refactor Channel messaging, include messages that curently not in use 2010-11-19 16:26:35 +00:00
olegkap_cp d97f30a745 Add Channel events to prepare for further refactoring 2010-11-18 21:47:59 +00:00
olegkap_cp a8adef465c Refactor and complete ChannelRequestMessage for different channel request;
Add support for version 1.99;
Add shell/terminal like capabilities;
2010-11-17 18:29:39 +00:00
olegkap_cp c5bd6c203e Start refactoring handling session messages into handling message events 2010-11-15 18:59:37 +00:00
olegkap_cp 2c435ec12c Fix remote port forwarding socket read functionality 2010-11-11 19:36:00 +00:00
olegkap_cp 6cd224a0e4 Fix max open channels for session type channel
Fix some CA warnings
2010-11-11 18:31:26 +00:00
olegkap_cp 27d87e3b69 Refactor command execution and provide more information when command execute
Add SshCommand class wchich replaces functionality of Shell class
Allow to return ExitStatus and Error message seperatly or both
2010-11-10 16:20:31 +00:00
olegkap_cp b52f88e6c8 Temporary changes to restrict number of Session Channels (not yet completed) 2010-11-09 15:34:10 +00:00
olegkap_cp f9d6c34b59 Remove initilize method and make sure there is always one session per connection when connected to the server
Correct fail command re-execution test
2010-11-08 16:01:54 +00:00
olegkap_cp ba8f01a661 Fix SFTP Write method 2010-11-08 13:54:59 +00:00
olegkap_cp 66cc98d2e0 Reduce Session visibility to inherited Channel classes 2010-11-08 13:54:37 +00:00
olegkap_cp a322c96a1c Refactor channel message handling by converting into events 2010-11-05 20:42:49 +00:00
olegkap_cp ba9208e33e Update TestRemotePortForwarding test 2010-11-04 21:33:15 +00:00
olegkap_cp 917508119d Fix problem with invalid URL 2010-11-04 21:08:50 +00:00
olegkap_cp 500fc57184 Refactor Channel structure and management
Add PortForwarding funcionality
Create SshClient which will be one enty point for all Ssh functionality
2010-11-04 20:44:17 +00:00
olegkap_cp e33b67e2ff Add more information to SshException when command execuetd with error. Pass the error description to the exception. 2010-10-20 14:03:58 +00:00
olegkap_cp 7062a7edf1 Remove shell folder 2010-10-13 17:37:59 +00:00
olegkap_cp a9d4fb5fc4 Project renaming and reorg 2010-10-13 17:17:53 +00:00
olegkap_cp e3d570ea62 2010-10-13 17:09:22 +00:00
olegkap_cp 69e6694506 Addint test project to solution with some test cases 2010-10-13 17:06:34 +00:00
olegkap_cp 0c885f5704 Minor refactoring to resolve minor issues and CA complaints 2010-10-08 14:42:06 +00:00
olegkap_cp 420b715b6e Change default timeout to 30 seconds 2010-10-05 18:29:55 +00:00
olegkap_cp d186722e8e Change Timeout data type to TimeSpan 2010-10-05 18:28:33 +00:00
olegkap_cp 9860895245 Add thread safty to Disconnect method 2010-10-05 18:26:50 +00:00
olegkap_cp f2bd74c91e Fix GetIntegerSize method which used when Private key file is used 2010-10-04 19:50:13 +00:00
olegkap_cp 6ce6b45a7c Fix disconnect and hung issues. 2010-10-04 19:03:49 +00:00
olegkap_cp e436a98242 Rearange compression classes into seperate namespace 2010-09-15 20:22:07 +00:00
olegkap_cp 31e8e2f429 Add support for AES128-CBC, AES192-CBC and AES256-CBC 2010-09-10 19:51:04 +00:00
olegkap_cp 4e26ff3954 Fix SFTP TODO items and some bug while downloading file. 2010-09-10 14:51:17 +00:00
olegkap_cp 26ecfd0ec9 2010-09-09 17:13:33 +00:00
olegkap_cp 8c51113cbb Complete some TODO items, prepare for compression implementation 2010-09-09 17:12:04 +00:00
olegkap_cp 3a76bf09bd Refactor key exchange mechanism to handle key exchange messages issued by the server 2010-09-04 01:51:17 +00:00
olegkap_cp c7d1ea84a0 Throw an exception if command failed to execute with exit code 2010-09-02 18:36:39 +00:00