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
|
8e64b8f21b
|
Ensure Queue.Dequeue operation is called only when data still availalbe in queue
|
2013-01-08 16:15:45 +00:00 |
|
olegkap_cp
|
358b08905f
|
Fix and add XML comments
|
2013-01-07 18:41:10 +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
|
58c0a23fa9
|
Add locking in ShellStream Read function
|
2012-12-21 13:52:31 +00:00 |
|
olegkap_cp
|
ef584b16f6
|
Fix cleanup of SftpFileStream.
|
2012-12-20 19:33:19 +00:00 |
|
olegkap_cp
|
f08c14e0f6
|
Fix channel cleanup when disposed.
|
2012-12-20 14:46:15 +00:00 |
|
olegkap_cp
|
d0241f5853
|
Fix ShellStream Expect method that causes application to hang
|
2012-12-19 20:44:51 +00:00 |
|
olegkap_cp
|
1d9a223d24
|
Add timeout to expect functions
|
2012-05-04 14:10:32 +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 |
|
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
|
9ea9564e4b
|
Improve ShellStream to behave like a regular Stream
|
2012-02-24 18:26:56 +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
|
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
|
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 |
|