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
olegkap_cp
9dbd001bad
Fix synchronization exception
2012-12-21 01:37:35 +00:00
olegkap_cp
db3244a3f9
Remove -q flag from SCP commands to avoid crush on systems that do not support it
2012-12-21 00:23:01 +00:00
olegkap_cp
55eb9bfc4b
Add Silverlight5 and WindowsPhone8 projects
2012-12-20 21:38:35 +00:00
olegkap_cp
ef584b16f6
Fix cleanup of SftpFileStream.
2012-12-20 19:33:19 +00:00
olegkap_cp
43358247a5
Fix socket locker to different object since socket can become null at some point
...
Apply 12489 patch
2012-12-20 18:16:48 +00:00
olegkap_cp
e738ebfb1e
Add Support for SFTP posix-rename@openssh.com and statvfs@openssh.com requests
...
Partially apply 12705 patch
2012-12-20 17:18:56 +00:00
olegkap_cp
2e400ef632
Support multiple chunks in NetConf.
...
Apply 13499 Patch
2012-12-20 16:03:39 +00:00
olegkap_cp
f08c14e0f6
Fix channel cleanup when disposed.
2012-12-20 14:46:15 +00:00
olegkap_cp
d8fbf2c81b
Fix SCP to allow specify folder/path as destination when coping files
2012-12-20 13:33:40 +00:00
olegkap_cp
09763a591e
Code Cleanup
2012-12-20 05:33:31 +00:00
olegkap_cp
41bb6920d0
Fix AES-256-CBC SSH private key decryption
...
Restore silverlight compatibility
2012-12-20 01:41:43 +00:00
olegkap_cp
d551995eb6
Change default buffer size from maximum allowed to 16KB to avoid several buffer related errors
2012-12-20 00:48:37 +00:00
olegkap_cp
67c90147df
Throw an exception if connection could not be established
2012-12-19 20:51:15 +00:00