1723 Commits

Author SHA1 Message Date
olegkap_cp 9f521bd66b Add support for SSH2 ENCRYPTED keys (encrypted SSH2 keys not yet supported) 2012-05-09 19:55:08 +00:00
olegkap_cp 1d9a223d24 Add timeout to expect functions 2012-05-04 14:10:32 +00:00
Kenneth_aa_cp 5bc788f3c8 Missed a reference to Renci.SshNet.content! 2012-05-02 04:55:26 +00:00
Kenneth_aa_cp 91c57873a2 Renamed Renci.SshClient.content to Renci.SshNet.content.
Renamed SshClient.shfbproj to SshNet.shfbproj.
Updated references in Renci.SshNet.csproj.
2012-05-02 04:45:01 +00:00
Kenneth_aa_cp 3c11effb80 Removed some entries caused error for Sandcastle. 2012-05-02 04:29:50 +00:00
olegkap_cp 184963f8c5 Add timeout for some waiting operations 2012-05-01 12:42:30 +00:00
Kenneth_aa_cp af05714f97 Updated documentation for exceptions. 2012-05-01 09:22:42 +00:00
Kenneth_aa_cp cefb74bf1e Added test cases for SOCKS4, SOCKS5 an HTTP proxies for SftpClient and SshClient. 2012-04-30 10:13:17 +00:00
Kenneth_aa_cp 3be0eaf09b Fixed BUG from revision 16218. Changed ConnectionInfo so if ProxyType is set to None, constructor will not validate proxy parameters (host, port specifically), and when set to ProxyType.None, host, username and password is set to null in the other constructors - instead of string.Empty.
Added test, and special notes for Workitem 1140: SftpClient.IsConnected property does not get set to False after call to Disconnect()
2012-04-29 07:13:08 +00:00
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