New Post: Eof message
Reintroduced Channel.SendEof() in changeset 41014. The new implementation is different from the original one in that it throws an InvalidOperationException when the channel is not (or no longer) open.
View ArticleNew Post: Eof message
thx i sightly modified it because the SshCommand class has just the IChannel interface not the class Channel. I will create a patch tomorrow and upload it.
View ArticleNew Post: SshCommand.Execute with STDIN support
Hi, I am using your library for a while already. You did it well, and for me Renci.SshNet is the best ssh library for .NET. In one of our last projects there was a new requirement: Calling some Linux...
View ArticleNew Post: Eof message
I'll have a look at your patch tomorrow, but I'd prefer now to modify the implementation of SendEof for now. We already have too many places where we either hide exceptions or silently ignore an...
View ArticleNew Post: Detecting disconnection and reconnecting
Is there a way of detecting being disconnected and possibly reconnecting. The only way I seem to get this to work is by attaching to the exception event and reconnecting open exception. this is a bit...
View ArticleNew Post: Detecting disconnection and reconnecting
I'm actually planning on adding closing (or disconnecting) and (closed (or disconnected) events, but I first want to get a new stable release out.
View ArticleNew Post: RunCommand not returning
Hi all I have an application where we use the SSH.Net library to communication to a netapp storage system. There are a lot of connections opened, commands executed and connections closed. I implemented...
View ArticleNew Post: Setting the Terminal device
Is there a way of me setting which device i'm connecting as? We use a VT100 and when I connect I get a load of text back saying error device not recognized etc. What im getting back is: 13:32:26:...
View ArticleNew Post: Setting the Terminal device
Whats your code for connecting to the device? You can do:SshClient.CreateShellStream(@"vt100", 80, 24, 800, 600, 1024); orSshClient.RunCommand("export TERM=v100 && echo $TERM")
View ArticleNew Post: Setting the Terminal device
Im using stream = OpenVMSDriver.client.CreateShellStream(@"vt100", 80, 24, 800, 600, 1024); Could I use the .RunCommand before I create the shell stream?
View ArticleNew Post: Setting the Terminal device
Or maybe I can call the create steam before I connect?
View ArticleNew Post: Setting the Terminal device
Looks good at my test setup: stream = client.CreateShellStream(@"vt100", 80, 24, 800, 600, 1024); stream.Write("env | grep TERM\n"); stream.Write("echo $TERM\n"); =># env | grep TERM TERM=vt100 #...
View ArticleNew Post: Setting the Terminal device
I get this back: Last interactive login on Monday, 1-DEC-2014 16:07:13.06 Last non-interactive login on Monday, 1-DEC-2014 09:18:02.75 System Detective is monitoring activity on this system....
View ArticleNew Post: Setting the Terminal device
I tried using the command:show terminal /full and I get:show terminal /full Terminal: _FTA1968: Device_Type: VT100 Owner: PAYMENTS1U Input: 9600 LFfill: 0 Width: 80 Parity: None Output: 9600 CRfill: 0...
View ArticleNew Post: Setting the Terminal device
What happens if you switch from "vt100" to "vt220" or "xterm"? The same? What is the ssh server running on?
View ArticleNew Post: Setting the Terminal device
Yeah the exact same thing happens. I did find somewhere on the internet though that the reason for the delay is that OpenVMS is querying for the terminal type, but because it doesnt get a response it...
View ArticleNew Post: Setting the Terminal device
Hm, maybe you should ask OpenVMS what the heck they are doing :) Sounds like it is not an issue of SSH.NET, but for all SSH-Clients!? Do Putty and OpenSSH produce the same errors?
View ArticleNew Post: Setting the Terminal device
I found this: http://labs.hoffmanlabs.com/node/1483 Basically OpenVMS is asking "what terminal are you" and theres no response sent back. I need to be able to send:(char)27 + "[?1;0c" in the VT100...
View ArticleNew Post: Interactive Authentication
Hi, I can't find any Event, which allows to ask for Authentication informations while Connect() is running. Currently I have a project where 2 Factor Auth might be used. So I get a PartialSuccess with...
View Article