1714 Commits

Author SHA1 Message Date
Kenneth_aa_cp df25d5ace0 Fixed a bunch of comment Warnings. Left Zlib and NetConfClient as is for now. 2012-04-29 06:49:03 +00:00
Kenneth_aa_cp 25816b1dd7 ConnectionInfo.cs:235 - Removed ! infront of IsNullOrEmpty in final constructor.
Added alot of documentation.
Added alot of parameter checks.
Added alot of tests.
2012-04-28 19:46:09 +00:00
Kenneth_aa_cp b81427b86b Added parameter check and documentation for ScpClient.Download(string,Stream). 2012-04-28 07:37:38 +00:00
Kenneth_aa_cp ea12efff5b Added valid 'authorized_keys' file for those who want to verify the key exchange works. 2012-04-28 07:26:40 +00:00
olegkap_cp 8ac242d197 Add ServerVersion and ClientVersion to the ConnectionInfo 2012-04-13 12:49:52 +00:00
olegkap_cp fb2e907d73 Fix ReadUInt64 2012-04-04 17:44:41 +00:00
olegkap_cp 08aaf634c3 Add KeyLength property to HostKeyEventArgs 2012-03-06 19:14:58 +00:00
olegkap_cp 628ce8bb37 Fix SocketReadLine to be able to read empty line
Add support for HTTP Proxy
Improve support for multiple authencation methods
2012-02-29 20:59:40 +00:00
olegkap_cp 3f1fef6faa Fix authentication constructors
Provide more ConnectionInfo default constructors.
2012-02-28 19:18:31 +00:00
olegkap_cp bc2fb5bedc Add support for multiple authentication methods
Minor comment fixes
2012-02-28 19:00:57 +00:00
olegkap_cp 62ae94d39a Make placeholders for HTTP proxy support
Fix compilation error for Silverlight and WindowsPhone
2012-02-27 16:36:53 +00:00
olegkap_cp 432d640930 Fix SocketReadLine from previouse checkin 2012-02-25 01:38:17 +00:00
olegkap_cp 8d3ae9cede Fix paddedBlock calculation 2012-02-24 19:12:38 +00:00
olegkap_cp d2eeca4d6d Fix Regex for private keys to accept keys with longer lines (for example Amazon services) 2012-02-24 18:37:43 +00:00
olegkap_cp 9ea9564e4b Improve ShellStream to behave like a regular Stream 2012-02-24 18:26:56 +00:00
olegkap_cp 98c64c4d9a Fix SocketReadLine to read only required information 2012-02-24 14:00:18 +00:00
olegkap_cp 08bf294958 Refactor ShellStream
Add Expect functionality
For usage examples see: http://sshnet.codeplex.com/discussions/301739
2012-02-21 04:26:55 +00:00
GiantJunkBox_cp 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.
2012-02-19 00:20:32 +00:00
olegkap_cp 9030a146a3 Fews other Dispose to Clear changes for Mono support 2012-02-13 14:31:49 +00:00
olegkap_cp 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)
2012-02-13 14:26:57 +00:00
olegkap_cp f27e8e19c7 Ensure random number generation doesnt go into infinite loop 2012-02-10 18:54:26 +00:00
olegkap_cp 9f82f4bb4d Replace Dispose with Clear to make it compilable in Mono
Fix posible memory leak in HMac
2012-02-10 18:41:39 +00:00
olegkap_cp 0203a453b0 Switch to Subversion 2012-02-10 18:16:29 +00:00
olegkap_cp 4cce9425cb Add CreateShellStream method and ShellStream class to work with shells
Make aes256-ctr encryption to be default one
2012-02-10 17:26:34 +00:00
olegkap_cp 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
2012-01-24 14:48:04 +00:00
olegkap_cp 307491da2d Fix null buffers when using proxy to connect 2012-01-20 14:36:53 +00:00
olegkap_cp 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.
2012-01-06 18:57:48 +00:00
olegkap_cp 81b9e21b8f Remove quotes when using SCP to download or upload 2012-01-04 18:14:40 +00:00
olegkap_cp e435bd2300 Add SOCKS4 & SOCKS5 Proxy support when connecting to remote server.
For silverlight only IP address can be used for server address when using proxy.
Usage example:
            var connectionInfo = new PasswordConnectionInfo("1.2.3.4", "username", "password", ProxyTypes.Socks4, "127.0.0.1", 8088);
            using (var ssh = new SshClient(connectionInfo))
            {
                ssh.Connect();
                var rrr = ssh.RunCommand("ls -l");
            }
2012-01-04 14:56:58 +00:00
olegkap_cp 746b4796fa Replace some documention source file (not finished yet) 2011-12-27 16:16:49 +00:00
olegkap_cp 50c8b3c6f2 Refactor SftpMessage to work with WindowsPhone correctly
Clean up unused code
2011-12-09 17:54:03 +00:00
olegkap_cp efa9d91f19 Add PipeStreamTest
Add SuppressMessage to some methods
Fix broken Test_Connect_Then_Reconnect test
2011-12-08 20:10:03 +00:00
olegkap_cp 6c4eda935f Restore logging for Sessions 2011-12-07 20:20:20 +00:00
olegkap_cp f5b84e974c Replace reflection operation with static message metadata to work with WindowsPhone. 2011-12-07 20:17:23 +00:00
olegkap_cp d96c93abb2 Minor fix to ASCIIEncoding
Add ScpClient to support SCP feature with limited featres supported in silverlight and WindowsPhone environment
Add ScpClient test
2011-12-07 19:12:29 +00:00
olegkap_cp 96c512fddb Add ability to examen server public key/fingerprint 2011-11-29 14:32:17 +00:00
olegkap_cp c301c940ce Create Random function for BigInteger
Clean up minor TODO items
2011-11-28 14:18:12 +00:00
olegkap_cp d1dee73f0e Fix SocketReadLine for Silverlight and WindowsPhone version 2011-11-23 19:29:40 +00:00
olegkap_cp 751d0fecd4 Clean up logging and make silverlight and WindowsPhone projects compilable again 2011-11-23 18:31:07 +00:00
olegkap_cp 148be6f50e Allow cancel long running async executed commands
Add BreakRequestInfo for possible future support
2011-11-22 20:09:42 +00:00
olegkap_cp a0c40a5842 Add LastAccessTimeUtc and LastWriteTimeUtc properties to SftpFile 2011-11-22 02:59:39 +00:00
olegkap_cp ef33d78e89 Fix international support, now all differnt character sets should work, depends on windows default selection
Add international support test case
Add XML documention  to some members of SubsystemSession class
2011-11-21 20:32:39 +00:00
olegkap_cp 428b026c48 Refactor Dispose to avoid calling any socket related commands from it 2011-11-18 15:49:49 +00:00
olegkap_cp dc2d8ec142 Replace call to WaitOne(TimeSpan) with WaitOne(TimeSpan, Boolean) to make it compartible with .NET 3.5 2011-11-16 04:42:11 +00:00
olegkap_cp 23d3eb8ae7 Add NetConf support, apply patch 10722 2011-11-16 03:46:00 +00:00
Kenneth_aa_cp aa10395ebc Changed the tests for Permission Denied to use /root, otherwise it caused Not Found. 2011-11-04 18:01:58 +00:00
Kenneth_aa_cp 9f22922cd9 Added basic low-level message logging, for those who has problems this might help interpret what happens. 2011-11-04 17:57:35 +00:00
Kenneth_aa_cp a39dcbf3ae Added some more documentation for methods in SshClient class. 2011-11-04 14:00:05 +00:00
Kenneth_aa_cp 4ea8d5c241 Fixed Download_Forbidden test to actually download and not upload. 2011-11-04 12:58:54 +00:00
Kenneth_aa_cp 231081729f Fixed a bug that was left after reworking compression. Caused Remote host closed the connection. 2011-11-04 08:37:10 +00:00