Quantcast
Channel: sshnet Discussions Rss Feed
Browsing all 1729 articles
Browse latest View live
↧

New Post: Dealing with "prompts"

Hello Pat, Thanks for taking the time to look into my problem. I agree theres lots of good information on here and i'm getting little bits from here and there, but im at a stage now where I think I...

View Article


New Post: How to get command result which contains multiple lines...

You could use an array.. String[] myArray = cmd1.Result.Split(new char[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries); This will split the array based on carriage returns and new lines etc

View Article


New Post: Dealing with "prompts"

@Festive, I no longer do things this way, because on the systems I am programming against today (Cisco switches, routers, & ASAs), the command prompt is the last thing output after a command. You...

View Article

New Post: Dealing with "prompts"

@All, Well, Codeplex hosed that reply up pretty well. Let me know if the A & B pointers are confusing... Also, buried in the above is a subtle 'cry for help' if anyone out there has gotten big data...

View Article

New Post: Server String is null or empty

@JamesTow, I use both MySQL and SQL Server, but never the migration tool SSIS... But I have written lots of code against these databases that connect directly on 3306, and it isn't SSH. It's just plain...

View Article


New Post: Dealing with "prompts"

BogusException wrote: @Festive,[Yes, I write in both, and Java, and Perl, and... so no nasty comments; Just using the right tool for the job] Ah Java :) she was my first. I completely agree, use the...

View Article

New Post: Dealing with "prompts"

@Festive, I'm far from perfect with this library. If you find a sure-fire way to make asynch.IsComplete() work, I'm your disciple! Frankly, my suspicion is that SSH, or any client in a 'shell'...

View Article

New Post: Dealing with "prompts"

Well I thought id made progress, but apparently using the ShellStream fudges up creating a command and trying to read the result. If I create a stream and then use: result = resultStream.ReadToEnd();...

View Article


New Post: Dealing with "prompts"

Ive managed to get a version of this working quite robustly, when i've tested it enough i'll post it here! :) Jelly

View Article


New Post: Dealing with "prompts"

YAY!!!

View Article

New Post: How to retrieve stdout & stderr both from Invoke-SshCommand

Hello, I'm running the invoke-sshcommand cmdlet and I can't seem to get both pipes. Invoke-sshcommand seems to return one or the other. If I expect output from stdout only, I get it. If I expect output...

View Article

New Post: How to retrieve stdout & stderr both from Invoke-SshCommand

This page is for the library only. Many PowerShell modules use it (including my own). You should check first with the author of the module how he coded the use of the library. Whose PowerShell module...

View Article

New Post: How to retrieve stdout & stderr both from Invoke-SshCommand

Darkoperator wrote: This page is for the library only. Many PowerShell modules use it (including my own). You should check first with the author of the module how he coded the use of the library. Whose...

View Article


New Post: How to use ShellStream class ?

Hi All, can someone please post code or reference a link for an example on how to use the ShellStream class ? I can attach to an SSH server, run some commands, display its results, but I need to go...

View Article

New Post: Need help with sending keypress / any workarounds.

Hi Everyone! Need all of your help greatly to enlighten me on this issue. I have developed a automation tool to perform some daily task. But my application does not run the next command after it...

View Article


New Post: Port Forwarding and Java application launch

Hello all, first of all thank you for this great community, I am learning a lot as I go. I am by no means a programmer by trade, I write code with a means to and end approach, and so any solution I...

View Article

New Post: Port Forwarding and Java application launch

I've gotten this to work with the older SharpSSH library. I also used TCPView from Microsoft to watch what happens when the connection are created. It seems that when the java application is launched...

View Article


New Post: Using Renci SSH.NET with Expect.NET?

Experts, I stumbled onto Expect.NET (NuGet here), and before I go crazy looking, have any of you used is with SSH.NET? I'm new to it, so I don't see how to 'attach' Expect to an SSH.NET session yet....

View Article

New Post: AutoPenguin wrapper over SSH.NET; Example of creating very reliable...

Will release in a few days:http://aulix.com/backup2dvd Is it interesting to anyone?

View Article

New Post: AutoPenguin wrapper over SSH.NET; Example of creating very reliable...

AutoPenguin does automatic substitutions for $var1 from a DotNet Vars("var1") custom dictionary. So the most part of bash scripting can be ported keeping $var1 syntax to save your time and minimize errors

View Article
Browsing all 1729 articles
Browse latest View live


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