Commit Graph

91 Commits

Author SHA1 Message Date
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
olegkap_cp feafa2ef38 Add Authenticating event to allow capture of any banner text if exists that need to be presented to the user and to provide other authentication related information
Refactor userauthentication proccess and add support for "keyboard-interactive" authentication method
2010-12-21 21:13:25 +00:00
olegkap_cp 883de1a4d1 Fix null username when KeyFile is used
Reorganze and add more tests
2010-12-21 14:32:04 +00:00
olegkap_cp 5d3438aae5 Prevent start a new shell when its already started 2010-12-20 19:31:45 +00:00
olegkap_cp 04ec81d5d5 Populate and correct SFTP file attributes 2010-12-20 19:29:19 +00:00
olegkap_cp ce715f6d37 SshCommand re-execution cleanup 2010-12-20 19:15:04 +00:00
olegkap_cp 815e0572f7 Fix SFTP ListDirectoryCommand class to allow listing of big directory structure 2010-12-20 18:21:53 +00:00
olegkap_cp 4860a42a2a Add diffie-hellman-group-exchange-sha256 and diffie-hellman-group-exchange-sha1 key exchange methods
Refactor key exchange mechanism
Fix public key authentication method when key is not provided
2010-12-20 17:48:15 +00:00
olegkap_cp dd0d8b7750 Add ability to provide multiple multiple key files for authentication 2010-12-17 18:56:19 +00:00
olegkap_cp e0fa741b3f Fix and add ssh-dss host key algorithm 2010-12-17 14:44:12 +00:00
olegkap_cp bf0998c8f6 Add "diffie-hellman-group14-sha1" implementation 2010-12-17 13:34:00 +00:00
olegkap_cp cfcb5dc7cd Fix compile error 2010-12-17 00:27:44 +00:00
olegkap_cp facb6db1f9 Implement passphrase feature to allow usage of encrypted key files 2010-12-16 23:42:12 +00:00
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