New Post: Timeout establishing SSH sessions
im getting:- Invoke-SshCommand : Exception calling "RunCommand" with "1" argument(s): "Session operation has timed out" with any commands im trying to execute using the latest beta Gregor
View ArticleNew Post: Setting transfer mode to binary
I am copying .wav phone recordings from a linux server to a windows share but the files are corrupted and unplayable after the copy is complete. I'm thinking this is because they are not being...
View ArticleNew Post: Setting transfer mode to binary
I actually found the error here. I needed to set the memoryStream position to 0. ms.Postion = 0; This fixed the problem.
View ArticleNew Post: Timeout establishing SSH sessions
Gregor/Jim, Can any of you provide a small repro ? Preferrable one that I can run again a public server, but I'll take whatever I can get :p
View ArticleNew Post: Simple .cshtml example?
Major noob here. I'm trying to write a connection string to run really basic commands and get the output. Can someone just show me the simplest way to do this using Razor view engine (.cshtml)? Below...
View ArticleNew Post: Simple .cshtml example?
I got this to work by doing this:@using Renci; @using Renci.SshNet; @using Renci.SshNet.NetConf; @using Renci.SshNet.Common; @using Renci.SshNet.Channels; @using Renci.SshNet.Compression; @using...
View ArticleNew Post: Timeout establishing SSH sessions
I'm still trying to determine exactly where the code is hanging. I've added some debug code but since then I haven't run in to the issue. I'm running into this issue on a certain SSH accessible...
View ArticleNew Post: Timeout establishing SSH sessions
Hi Jim The code is very simple, I can connect using ssh but when I execute a command I get the following error:- Enter-SshSession : Exception calling "RunCommand" with "1" argument(s): "Session...
View ArticleNew Post: Unable to read documentation
Did you check the instructions on the documentation page (https://sshnet.codeplex.com/documentation) ?
View ArticleNew Post: Timeout establishing SSH sessions
Can you provide the full stack trace (instead of just Exception.Message) ? Modifying this: Write-host $($Error[0].Exception.Message) into this should do the trick: Write-host $($Error[0].Exception)...
View ArticleNew Post: Unable to read documentation
Hi drieseng,Thank you, I did unlock its working fine.Earlier I read “unlock” but it is after you right click sshnet.chm>click properties> unlock [at bottom].But I was confused, now I got...
View ArticleNew Post: PasswordConnectionInfo Timeout doesn't appear to be working in...
Hi, I have the following PowerShell script that I'm testing (using either 2014.4.6-beta1 or 2013.4.7). When I put in a bogus IP Address for a switch, the timeout always seems to be about 20-25 seconds,...
View ArticleNew Post: Timeout establishing SSH sessions
Stack Trace below:- System.Management.Automation.MethodInvocationException: Exception calling "RunCommand" with "1" argument(s): "Session operation has timed out" --->...
View ArticleNew Post: Can I use
Can i use this library in commercial program? I don't see any exclusion in the BSD license?
View ArticleNew Post: CreateShellStream - # columns question
I know this is going to be a very odd question, but here it goes. I have successfully created my SSH connection. Using CreateShellStream("xterm", 80 , 24, 9600,9600,1024) When I do an ls (Linux...
View ArticleNew Post: Netconf - Is the feature built
Hello, I saw a discussion about netconf . Is ssh library includes thathttps://sshnet.codeplex.com/discussions/277136 regards
View ArticleNew Post: Get the string result from Execute() during the execution
<response to non-technical bullshit> You cut and snip my words out of context to make your argument? And patronize under the false pretence of giving "advice".. Really? And you talk about being...
View ArticleNew Post: Get the string result from Execute() during the execution
Aye, let's get back to topic. Sorry we got your writings wrong. But you must accept you are quite offensive too, not to say quite lordly ;) I'm not sure I get your statement right. Why shouldn't/can't...
View ArticleNew Post: Get the string result from Execute() during the execution
"And dont worry... I would find better technical advice in google translating a drunk russian hobo ramblings than you guys (or the one person hiding behind two pseudonyms).So thanks, but no thanks.. "...
View ArticleNew Post: No docs? No test dir? What am I missing?
Downloaded the latest version, unzip, compiles, everything good so far. Look for examples on how to simply connect to a host. Hmm. Web site suggests looking at all of the test cases. Ok, look for test...
View Article