New Post: Remote MD5 checksum on ftp server?
Simply run a md5 command on the file on the server and read the result. Compare the result with your expected (local?) value.
View ArticleCommented Unassigned: Problems with IPSwitch MoveIt SSH server [1785]
Has anyone had problems when using the code with IPSwitch MoveIt ?I can connect OK, list files, rename, upload & download. But when I try to delete a file I get "permission denied".Although if I...
View ArticleCreated Unassigned: Timeout on proxy authentication [1905]
You have neverending loo while authentication through proxy```Session.cswhile (true){ ... switch (statusCode){ case HttpStatusCode.OK: break; default: throw new ProxyException(string.Format("HTTP:...
View ArticleNew Comment on "Documentation"
A note about the CHM file. If you install this on a file share and you cannot see the html in the right window, you may have issues with UNC paths. Install this on your local hard drive and see if the...
View ArticleNew Post: Commands
Hi, I have some issues using this library. First, some commands are not executed on SSH server machine. For e.g. ls work ok, but cd /home doesn't work. Second thing scares me most. How can send key...
View ArticleCommented Unassigned: Problems with IPSwitch MoveIt SSH server [1785]
Has anyone had problems when using the code with IPSwitch MoveIt ?I can connect OK, list files, rename, upload & download. But when I try to delete a file I get "permission denied".Although if I...
View ArticleCommented Unassigned: Problems with IPSwitch MoveIt SSH server [1785]
Has anyone had problems when using the code with IPSwitch MoveIt ?I can connect OK, list files, rename, upload & download. But when I try to delete a file I get "permission denied".Although if I...
View ArticleCommented Issue: Timeout on proxy authentication [1905]
You have neverending loo while authentication through proxy```Session.cswhile (true){ ... switch (statusCode){ case HttpStatusCode.OK: break; default: throw new ProxyException(string.Format("HTTP:...
View ArticleCommented Issue: HTTP proxy hangs [1890]
When connecting to an http proxy the Session.ConnectHttp() method gets stuck in an endless loop.this is due to the following code::switch (statusCode){ case HttpStatusCode.OK: break; default: throw new...
View ArticleCommented Unassigned: Incorrect handling of SocketException in...
In SocketRead() in Session.NET.cs there's a dubious handling of SocketExceptions. This is what the original code looked like:``` catch (SocketException exp){ if (exp.SocketErrorCode ==...
View ArticleNew Post: Check if Directory exists with SSH.NET
Hello, I'm wondering if anyone knows how to check if a directory exists with SSH.NET. I tried using the Exists function with sFtpClient class, however this function didn't work. Thanks! Jason
View ArticleNew Post: Commands
I bet the "cd /home" works. You have to keep in mind that every RunCommand() has a new "shell". If you want to run commands together in one context you have to create/manage your own shell or combine...
View ArticleCreated Unassigned: Timeout on Uploading file [1906]
Hi All, I've tried to search for this issue but haven't had any luck.I am trying to upload a file to an SFTP but it fails when the file is larger than approx 50kb, when the file is smaller than that it...
View ArticleCommented Unassigned: Timeout on Uploading file [1906]
Hi All, I've tried to search for this issue but haven't had any luck.I am trying to upload a file to an SFTP but it fails when the file is larger than approx 50kb, when the file is smaller than that it...
View ArticleCommented Issue: SSH through Proxy Problem [1601]
Hello guys,im trying to connect through a proxy to my SSH server but i get an exception:"__Renci.SshNet.Common.SshOperationTimeoutException: Socket read operation has timed out at...
View ArticleSource code checked in, #34706
Skip headers (and message body if Content-Length headers is set) returned by HTTP proxy. Fail fast when proxy does not return HTTP 200. Added corresponding regression tests. Fixes the following issues:...
View ArticleEdited Issue: SSH through Proxy Problem [1601]
Hello guys,im trying to connect through a proxy to my SSH server but i get an exception:"__Renci.SshNet.Common.SshOperationTimeoutException: Socket read operation has timed out at...
View ArticleEdited Issue: HTTP proxy hangs [1890]
When connecting to an http proxy the Session.ConnectHttp() method gets stuck in an endless loop.this is due to the following code::switch (statusCode){ case HttpStatusCode.OK: break; default: throw new...
View ArticleEdited Issue: Timeout on proxy authentication [1905]
You have neverending loo while authentication through proxy```Session.cswhile (true){ ... switch (statusCode){ case HttpStatusCode.OK: break; default: throw new ProxyException(string.Format("HTTP:...
View ArticleClosed Unassigned: Closing forwarded ports does not work [1867]
Dear all,I use PuTTy with the following settings for port forwarding which works fine:putty.exe -ssh user@hostname -L 5555:localhost:5555 -L 5554:localhost:5554 -N -pw passwordNow I want to do this...
View Article