New Post: Executing grep command
grep waits if the second argument is empty. $ grep bla => hangs till signal $ grep bla bla => instant return I guess your command is not correct. Ensure you are calling grep correctly. Btw.:...
View ArticleNew Post: env variable are missing
I had a similar issue with missing env. i thought about changing the default sshd provided env, but it seemed too hard to maintain. so instead, i just modify the command i want to call, with all the...
View ArticleNew Post: Executing grep command
Hi, I have the two parameters: grep test /dir/to/file.txt. I ran my code in debug mode and it looks exactly as it does when I hard code the values. Still hanging.
View ArticleNew Post: Executing grep command
I can't reproduce it, sorry. Works for me. try { client.Connect(); SshCommand cmd = client.CreateCommand("grep bla /tmp/foo"); var asynch = cmd.BeginExecute(); while (!asynch.IsCompleted) {...
View ArticleNew Post: Executing grep command
You are right, I know what it is now. I have an enter in my data. I am sorry. It was just not visible at all. Thanks.
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 ArticleSource code checked in, #34742
Fix compiler and (correct) resharper warnings across the solution.
View ArticleNew Post: Support for SSH_FXF_TEXT flag (SFTP protocal version 4 and above)
Hi, Does SSH.NET support text mode transfers, i.e support the SSH_FXF_TEXT flag available in SFTP protocol version 4 and above? Cheers
View ArticleCreated Unassigned: System.Exception: An established connection was aborted...
Hi,I see that this issue was already reported, but the last message is from middle of November saying that somebody is testing it...I still have this issue on the version v4.0.30319. Did you fixed the...
View ArticleNew Post: About the speed
Hello, I would like to suggest how to speed up file transfers. I tested two connections - one through ssh.net and one through winscp. The same endpoints and to the same server service. Speed differs...
View ArticleCreated Unassigned: Need to delete redundant encryptions when using...
Need to delete redundant keys in order to communicate with some servers. More than one encryption throws an exception.foreach (var d in connectionInfo.Encryptions.Where(p => p.Key !=...
View ArticlePatch Uploaded: #15948
osmancarik has uploaded a patch.Description:You need to delete redundant encryptions from ConnectionInfo.Encryptions in order to be able to communicate with some servers. In my case it threw an...
View ArticleNew Post: Slow Performance .... help!!
da_rinkes wrote:jhoop2002 wrote: As mentioned in my previous post. "I am connecting via sftp and only getting about 100KB instead of 1,000KB" whao... You want help? Then give us your code where you...
View ArticleNew Post: entering username before authentication
Hello, i am trying to connnect to a sonicwall device with ssh. for the sonicwall i have first to enter first an user for "Login as:" , for example "snwcli" After that i have to enter username and...
View ArticleNew Post: About the speed
HOW TO SPEED UP 3X: in file SftpFileStream.cs is predefined too small buffer - 4096 bytes is not enought. ORIGINAL: _ internal SftpFileStream(SftpSession session, string path, FileMode mode) :...
View ArticleNew Post: entering username before authentication
For such things you have to work with ShellStream. In this you can expect questions, e.g. "User:", and write your answers, e.g. "admin".
View ArticleCommented Unassigned: System.Exception: An established connection was aborted...
Hi,I see that this issue was already reported, but the last message is from middle of November saying that somebody is testing it...I still have this issue on the version v4.0.30319. Did you fixed the...
View ArticleCommented Unassigned: System.Exception: An established connection was aborted...
Hi,I see that this issue was already reported, but the last message is from middle of November saying that somebody is testing it...I still have this issue on the version v4.0.30319. Did you fixed the...
View ArticleCreated Unassigned: This may be a critical bug [1917]
Today I encountered errors like "bad package size" which is related to connection handshake. When I tried stepping into the source code, I found the following suspicious bug - In KeyExchange.cs, please...
View ArticleCreated Issue: Connection dropped by server due to invalid DSA signature [1918]
Sometimes connection are dropped by the server because we generate an invalid signature.In this case, you'll see the following log entry on the server:fatal: bad sigbloblen 39 != SIGBLOB_LENOn the...
View Article