Quantcast
Channel: SSH.NET Library
Browsing all 2955 articles
Browse latest View live
↧

New 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 Article


New 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 Article


New 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 Article

Commented Unassigned: CreateShellStream closes the conenction : "An...

Dear friends, I am using SSHNET for many connections. I use CreateShellStream to find an output.One kind of hosts (the old one, BusyBox v1.00-pre10) closes the connection on ```using (var stream =...

View Article

New 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


Commented Unassigned: Shellstream password [2584]

I have been using ssh.net successfully, but recently I have been having a very interesting issue which I need help for:I can log on to a linux server, ssh to another and use sudo successfully.Recently,...

View Article

New Post: RunCommand for sub processes (Mongo)?

Hey guys, I'm trying to use client.RunCommand to pass a series of commands to a server instance of MongoDB. I am connecting to the server correctly using SSH... but when I try to run the command to...

View Article

New Post: RunCommand for sub processes (Mongo)?

RunCommand() uses the ssh command feature. Means each command is started in it's own new "shell". client.RunCommand("pwd") => $HOME client.RunCommand("cd /tmp") client.RunCommand("pwd") => $HOME...

View Article


New Post: RunCommand for sub processes (Mongo)?

Thanks da_rinkes. Will look into ShellStream an d Error-Property and update.

View Article


New Post: SshCommand.Execute with STDIN support

Thanks for sharing this information. Very useful to me. Codeplex team, My sincere request to add this into your next release. it will be useful to most of this library users. Regds Hari

View Article

New Post: Running commands not returning results

I've created a SignalR SSH web console and I'm trying to run simple commands like "?" but I do not get a response, just an empty string. Here is a code sample: SshClient client; if...

View Article

New Post: Running commands not returning results

Also read/show the content of ExtendedOutputStream , which contains the data from StdErr. OutputStream just holds data from StdOut. Maybe your output is printed to StdErr?

View Article

New Post: Running commands not returning results

Also when I debug the app it never leaves the while loop, so it never gets to the sshCommand.EndExecute(asynch) statement. Should I use a different function?

View Article


New Post: Running commands not returning results

Looks good in a simple test program: var sshCommand = client.CreateCommand("pwd"); var asynch = sshCommand.BeginExecute(); var reader = new StreamReader(sshCommand.OutputStream); var errreader = new...

View Article

New Post: Running commands not returning results

Some commands are still freezing on the errreader.ReadToEnd() . Also command response in inconsistent. I can run the exact same command twice, first time it works, second time no response. cat...

View Article


New Post: Running commands not returning results

tirrellcotton wrote: Some commands are still freezing on the errreader.ReadToEnd() . Also command response in inconsistent. I can run the exact same command twice, first time it works, second time no...

View Article

New Post: Running commands not returning results

Can you ensure on the server the command exits? e.g. ps auxwww | grep cat The command exists because the first time I get results, but not after that. RunCommand() uses the ssh command feature. Means...

View Article


New Post: Running commands not returning results

exits not exists. I'm pretty sure cat exists on every system out there :) Please check the connection state when the ReadToEnd() hangs. I think I can trigger your problem with this: while (true) { var...

View Article

New Post: Commands are redisplayed before results are shown

When I run a command like "show vlan" I always get the following before the results are shown (and not exactly as I typed it). I'm using SignalR btw. ssh> show vlan show vlan s I just want to see...

View Article

New Post: Commands are redisplayed before results are shown

It is a normal behavior of a terminal that the server send you back the entered text. Normally a terminal only displays the data received by the server. I guess the problem you have is that you have to...

View Article
Browsing all 2955 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>