Commit Graph

56 Commits

Author SHA1 Message Date
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
olegkap_cp 2c91443501 Minor perfomance improvments, allow only SSH 2.0 implemention 2010-09-02 18:08:46 +00:00
olegkap_cp c78fadd984 Clean up some TODO items 2010-09-01 19:05:03 +00:00
olegkap_cp a875cee7e2 Fix socket reading problem, fix Connect/Disconnect issue and reuse of the object 2010-09-01 15:17:37 +00:00
olegkap_cp 4b8509e884 Keep track of server window size 2010-08-31 18:44:12 +00:00
olegkap_cp f71d3974c7 Fix channel window size managment 2010-08-31 18:42:19 +00:00
olegkap_cp 073767a9fe Minor channel communication improvemtns, disconecting and error handeling improved 2010-08-31 15:52:41 +00:00
olegkap_cp f866e2f187 Fix channel open/close/failed synchronization, make sure channel returns correct results, minor clean up 2010-08-26 20:46:04 +00:00
olegkap_cp 3e19ae132e Enforce number of simultanios open sessions and authentication attempts, refactor read/write and connection disconnect mechanism 2010-08-25 20:15:34 +00:00
olegkap_cp 2aae4a911b Minore code analisys refacting 2010-08-23 20:14:06 +00:00
olegkap_cp e2ebc5f57e Improve connection disconnection, add retry attempt when tring to open a channel 2010-08-23 19:37:17 +00:00
olegkap_cp a925c189f5 Refactor channel number generated by the client and other static variables 2010-08-20 18:59:28 +00:00
olegkap_cp f8f33679ed Add more comments, some cleanup, add Timeout parameter to ConnectionInfo 2010-08-20 14:01:26 +00:00
olegkap_cp cdab9b0fa8 Use Task to run background thread so it would work in ASP.NET application too, insure Connect being called only by one thread. 2010-08-19 21:51:31 +00:00
olegkap_cp 43556c4085 Refactor Shell and FTP connection 2010-08-19 18:09:04 +00:00
olegkap_cp e6de0af9a7 Fix connection, disconection problem, reading from stream and terminating connection by server, refactor Messaging 2010-08-19 17:42:08 +00:00
olegkap_cp 8a2a1ab468 Fix DSS key authentication, Rename KeyFile to PrivateKeyFile 2010-08-18 15:10:52 +00:00
olegkap_cp d5f5ee424c Refactor authentication mechanism, minor changes to CryptoPrivateKey files, implement Dss public Key 2010-08-17 20:32:49 +00:00
olegkap_cp ff27b12cf2 Add handling of passphrase but currently not suported and throws an exception 2010-08-16 19:32:03 +00:00
olegkap_cp 97ab16e013 Repalce PrivateKey and Signature classes with CryptoKey classes 2010-08-16 18:12:21 +00:00
olegkap_cp d8795e852e Minor changes Begin* End* preparation for ChannelSftp 2010-08-12 17:46:20 +00:00
olegkap_cp 7b6deebeee Add ChannelAsyncResult and BeginEecute and EndExecute methods 2010-08-11 21:27:42 +00:00
olegkap_cp 775bb96b43 Reorganize cipher algorithm and security namespace 2010-08-11 19:21:50 +00:00