New Post: Problem to receive SshCommand.Execute() response
Hi, I call SshCommand.Execute() method a lot of times to copy files on a linux system. I am communicating with 3-5 hosts at the same time and sometimes SshCommand.Execute() hangs for some of the...
View ArticleNew Post: How to get command result which contains multiple lines...
pcinfo = new PasswordConnectionInfo(host, username, password); sftpclnt = new SftpClient(pcinfo); clnt = new SshClient(pcinfo); clnt.Connect(); cmd1 = clnt.RunCommand(command2);...
View ArticleNew Post: create dll
Zip files containing the SSH.NET assembly for all supported target framework are available from the Downloads page. We also have a nuget package. Note that the 2014.4.6-beta1 release of our nuget...
View ArticleNew Post: Next release timeline?
I can't give an exact timeline, but I'll probably release another beta first.
View ArticleNew Post: not all files are listed
Robert, Can you reproduce this issue with a public SFTP server ? I reviewed our code, and couldn't immediately find a bug in this area. Thanks! Gert
View ArticleNew Post: not all files are listed
Hi, Drieseng; After spending quite a bit time to investigate this, it was SFTP server issue (out of our control). WinSCP setting and SftpClient was directed to different SFTP server (UAT and live)....
View ArticleNew Post: SftpClient.UploadFile doesn't seem to be uploading anything
I have the following code. Everything seems to work fine. I can connect to the server and list directory files. However, when I perform the UploadFile(), nothing is uploaded to the server. It gets all...
View ArticleNew Post: Missing wiki page: How to enhance debugging experience with SshNet
Hello, The documentation on the following page seems to be missing: https://sshnet.codeplex.com/wikipage?title=How to enhance debugging experience with SshNet I found the link on this page:...
View ArticleNew Post: ShellStream, end of command / waiting for input
Hi all, this project is the backbone to some pretty nice automation tools on our end, so thanks very much. One thing I do is interact with a shell-within-a-shell program - think irb or python shell on...
View ArticleNew Post: PowerShell 3 Support
It doesn't work for me with windows 8.1 after unblocking all files Import-Module : File C:\Users\D\Documents\WindowsPowerShell\Modules\SSH-Sessions\SSH-Session loaded because running scripts is...
View ArticleNew Post: On what thread will SshNet event handlers be called?
Hi, If I register for SshNet events, will SshNet take special care to call the handlers on the thread that owns the client, or will the handler be called in the context of some SshNet worker thread? David
View ArticleNew Post: ShellStream to execute a command, which requires confirmation "YES"
We are writing a tool to automate the operation to HP OA. It works perfectly unless we meet a command which requires confirmation during its execution. It output "Do you want to continue ? " and we...
View ArticleNew Post: Getting blank output using template example
I'm trying to create a very simple script that runs basic commands in a .cshtml page. I can get feedback for standard commands like "ls -l" or "ps -A", but when I try to run a command like "top" or...
View ArticleNew Post: Downloading sftp file using SSHNET
I need to download a file with a particular regular expression for a file say FileName_\d{8} How can I do this with sshnet?
View ArticleNew Post: Getting blank output using template example
I got it to run by using the code below. Am I doing this the best way, or is something else recommended?var connectionInfo = new PasswordConnectionInfo(RemoteHost, RemoteUserName, RemotePassWord); var...
View ArticleNew Post: ShellStream to execute a command, which requires confirmation "YES"
Or the question is how to use the library to support interactive commands? did anyone run into this issue before?
View ArticleNew Post: ShellStream to execute a command, which requires confirmation "YES"
It seems that we have the issue with 2014.4.6-beta1 version(the latest available download binary and the Change Set: 35216). It works fine with the latest source code (sshnet-35920). Maybe it's fixed...
View ArticleNew Post: .NET SftpClient.ListDirectory() returns "." and ".."
Hello all, I couldn't open the Help-file and I didn't find any other threads about this. So just a little question. Is it normal behaviour that the ListDirectory function returns "." and ".." as...
View ArticleNew Post: C# SSHNET ISSUE
Hi, I've been trying to make this work for a few days now but keep running into problems. I'm trying to make an application for college project to log onto a modem by SSH client and make it do a reboot...
View ArticleNew Post: C# SSHNET ISSUE
And when i run the program, it says Client not connected... Thank you for helping out!
View Article