New 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 ArticleCommented Unassigned: How to read linux cmd output all lines [1963]
Hi,I am using SSH.Net library to connect linux server and executing some cmds. I am trying to read the out put of the command like below.. but it is returning only first row of the result. If I ran the...
View ArticleCommented Unassigned: various System.ObjectDisposedException [1944]
during a long connection I get following exceptions:```System.ObjectDisposedException: Das SafeHandle wurde geschlossen. bei Renci.SshNet.Session.WaitHandle(WaitHandle waitHandle) in...
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 ArticleCreated Unassigned: WARNING: no suitable primes in /etc/primes [1973]
On some very strict servers a connect attempt with SSH.NET can lead to a warning of the sshd:"WARNING: no suitable primes in /etc/primes"This is because SSH.NET requests 1024 bits for group-exchange...
View ArticleCommented Unassigned: Message type 120 is not valid [1908]
Hello,I got following error in the session connect."Message type 120 is not valid"Renci.SshNet.dll!Renci.SshNet.Session.LoadMessage(byte[] data) Line 1539...
View ArticleCommented Unassigned: Message type 120 is not valid [1908]
Hello,I got following error in the session connect."Message type 120 is not valid"Renci.SshNet.dll!Renci.SshNet.Session.LoadMessage(byte[] data) Line 1539...
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