olegkap_cp
3bf76ef842
Add HashInfo class and refactor hashing works
...
Fix *-96 hashing algorithms
2013-01-22 13:36:54 +00:00
olegkap_cp
95abd4557b
Fix Expect method
...
Improve BeginExpect to be implemented similar to other asynch methods
2013-01-21 12:56:54 +00:00
olegkap_cp
db38a04f8a
Add Encoding property to ConnectionInfo to specify what encoding to use for current session.
...
Fix encoding for command execution, SCP and SFTP to allow usage of file names in different encodings
2013-01-21 02:56:41 +00:00
olegkap_cp
c62571a059
Remove some test code from previouse commit
2013-01-20 15:23:42 +00:00
olegkap_cp
ff2d8b3f52
Add support for hmac-sha2-256, hmac-sha2-256-96, hmac-md5-96 and hmac-sha1-96
2013-01-20 04:47:18 +00:00
olegkap_cp
eba904b54e
Add IsUploadCanceled and IsDownloadCanceled properties to allow cancelation of long running operations
2013-01-20 00:51:02 +00:00
olegkap_cp
111fd3e052
Add support for twofish cipher
2013-01-20 00:12:11 +00:00
olegkap_cp
affc93e4f0
Connectivity check fix from previouse commit
2013-01-19 04:07:41 +00:00
olegkap_cp
95eeb107a0
Remove EnsureConnection and move its funcionality into Session.SendMessage method
2013-01-19 03:56:35 +00:00
olegkap_cp
bc4e66139b
Improve IsSocketConnected test
2013-01-18 17:52:57 +00:00
olegkap_cp
f1e82058e5
Ensure Channel Close message is sent only once
...
PortForwarding improvments
2013-01-17 02:34:55 +00:00
olegkap_cp
c46ceaf34b
Add support for arcfour cipher and hmac-ripemd160 algorithms
...
Refactor cipher to allow support of stream ciphers for encryption/decryption
2013-01-10 17:00:12 +00:00
olegkap_cp
2d0286b380
Throw ObjectDisposedException exception when trying to use ShellStream that was already disposed
2013-01-10 15:22:22 +00:00
olegkap_cp
39e30765c1
Fix SCP hanging when downloading single file into directory
2013-01-10 14:28:53 +00:00
olegkap_cp
7290fdd514
Remove unused static references
2013-01-10 02:08:17 +00:00
olegkap_cp
74f78740a4
Remove files that not in use
2013-01-09 13:52:38 +00:00
olegkap_cp
c856a71a7f
Add NUGET package file to the project
2013-01-08 17:59:15 +00:00
olegkap_cp
7065c344b3
Refactor some tests
2013-01-08 17:34:39 +00:00
olegkap_cp
8e64b8f21b
Ensure Queue.Dequeue operation is called only when data still availalbe in queue
2013-01-08 16:15:45 +00:00
olegkap_cp
b629a4f344
Remove delete files
2013-01-08 16:07:12 +00:00
olegkap_cp
6d2604948d
Remove documention content and move code examples into test and code comments
2013-01-08 15:46:14 +00:00
olegkap_cp
358b08905f
Fix and add XML comments
2013-01-07 18:41:10 +00:00
olegkap_cp
807259a016
Apply 13574 patch
2013-01-07 14:28:50 +00:00
olegkap_cp
38b016236e
Add few examples into code comments
...
Fix some XML comments
Add test placeholders to implement in the future
2013-01-07 01:05:17 +00:00
olegkap_cp
b6c7336d0b
Fix to handle channel closed message by SubsystemSession class
2013-01-04 13:53:16 +00:00
olegkap_cp
09e8d2d7aa
Fix synchroization issue in ShellStream reading
2013-01-03 23:51:19 +00:00
olegkap_cp
2c424f6256
Refactor ShellStream to add BeginExpect
...
Fix Shell support in Silverlight and WindowsPhone applications
2013-01-03 22:12:32 +00:00
olegkap_cp
a9a006e220
Add ability to specify terminal modes for Shell terminal
...
Example:
using (var ssh = new SshClient(connectionInfo))
{
ssh.Connect();
var output = Console.OpenStandardOutput();
var input = Console.OpenStandardInput();
var terminalModes = new Dictionary<TerminalModes, uint>();
terminalModes.Add(TerminalModes.ECHO, 0);
terminalModes.Add(TerminalModes.VERASE, 0x7F);
terminalModes.Add(TerminalModes.TTY_OP_ISPEED, 0x9600);
terminalModes.Add(TerminalModes.TTY_OP_OSPEED, 0x9600);
var shell = ssh.CreateShell(input, output, output, "xterm", 80, 24, 0, 0, terminalModes);
shell.Stopped += delegate
{
Console.WriteLine("\nDisconnected...");
};
shell.Start();
Thread.Sleep(1000 * 100);
shell.Stop();
}
2013-01-03 20:04:14 +00:00
olegkap_cp
2efef57b52
Fix SocketReadLine for Silverlight version to support multiple lines
...
Improve IsSocketConnected to determine wheither client is connected or not
2013-01-03 18:52:00 +00:00
olegkap_cp
07a909357d
2013-01-02 17:11:24 +00:00
olegkap_cp
ea3c5bd09e
Delete unused files
2013-01-02 17:04:26 +00:00
olegkap_cp
485c36d70c
Restracture test case classes
2013-01-02 17:02:14 +00:00
olegkap_cp
3b3c3f7be4
Change DEFAULT_PORT from test 2222 to production 22
2013-01-01 16:28:48 +00:00
olegkap_cp
2faf1a229d
Fix connection to the proxy
2013-01-01 16:01:20 +00:00
olegkap_cp
83f3f63c21
Add ConnectionInfo.DEFAULT_PORT to be used as default port instead of static
2013-01-01 15:47:36 +00:00
olegkap_cp
dff6259475
Cleanup some TODO and UNDONE comments
2012-12-30 04:12:09 +00:00
olegkap_cp
80687da472
REstore test server names for test projects
2012-12-28 18:12:46 +00:00
olegkap_cp
9ea1ed5940
Clean up Debug.WriteLine
2012-12-28 16:37:24 +00:00
olegkap_cp
2c9928aa1e
Add couple more extended requests for future support
2012-12-28 16:35:56 +00:00
olegkap_cp
503cb0c062
Add some SFTP messages for future support
2012-12-28 15:35:47 +00:00
olegkap_cp
0923fb8db1
Refactor usage of extened requests
2012-12-28 15:18:17 +00:00
olegkap_cp
44b447afc4
Refactor SFTP to prepare for multiple SFTP version support and add suport for versions 0 thru 3
2012-12-28 14:33:36 +00:00
olegkap_cp
086936aa6b
Refactor key exchange and add new KeyExchangeDiffieHellmanGroupSha1 base class for easy extenstion to new new groups
...
Add new StatusCodes to SFTP for possible future support
2012-12-28 13:15:15 +00:00
olegkap_cp
cd3b0ca17a
Fix handling of SftpFileAttributes
...
Now only attributes that changed will be updated
Fix error with changing permission for directory
2012-12-28 01:01:05 +00:00
olegkap_cp
c9ae7f44fd
Add callback parameters to UploadFile, DownloadFile and ListDirectory methods to allow easy way to report progress
2012-12-27 16:13:29 +00:00
olegkap_cp
0124ab2fee
Refactor InternalUploadFile
...
Update SftpUploadAsyncResult with actual number of bytes that was already written to the server
2012-12-27 14:43:13 +00:00
olegkap_cp
9125534cff
Refactor WaitAny handle
...
Add ability to specify password as byte array which can be cleaned up later for security reasons
2012-12-27 02:31:18 +00:00
olegkap_cp
6852e6d2a9
Refactor RequestWrite method to write one block at a time
...
Add request synchronization for SftpWrite operation which should resolve issue of wrong or incomplete data to be written
Restrict SftpFileStream buffersize to maximum of 16KB.
2012-12-26 17:13:07 +00:00
olegkap_cp
78634e3b1c
Add HostKeyName property to HostKeyEventArgs
2012-12-21 15:10:56 +00:00
olegkap_cp
58c0a23fa9
Add locking in ShellStream Read function
2012-12-21 13:52:31 +00:00