New Post: Error accessing SFTP site from server, yet works from PC
Hi, I have an issue trying to connect to a SFTP server, where I get the error:="Error! No suitable authentication method found to complete authentication." The weird thing is that when I deploy my...
View ArticleNew Post: CreateShell
I was able to this working. I posted my solution at: http://stackoverflow.com/questions/19864617/powershell-read-write-to-ssh-net-streams
View ArticleNew Post: Mounting a network drive using SSH
Hi I want to use a secure samba port to mount a network drive. I understand how to create the connection, but am unsure on how to tell if it is doing what I want it to, would I be better off...
View ArticleNew Post: sftp behind proxy unable to connect
ok, I've got a bit more information, the sockets are getting blanks and the connect method is stuck in this loop: System.Net.Sockets Verbose: 0 : [6392] Exiting Socket#51791499::BeginReceive() ->...
View ArticleNew Post: SFTPClient (2013.4.7 library) and SSH1
Hi Guys, I was trying to connect to a remote server which was failing silently. I can connect to server via WinSCP as it fallsback to SSH1, is there a way we can specify SSH1 in the connectionInfo...
View ArticleNew Post: Running nuhup command using SSH.NET
What is wrong with this code?using (var client = new SshClient("host", "user", "password")) { client.Connect(); // var result = client.RunCommand(<ValidCommand>); // command executing and doing...
View ArticleCommented Issue: SFTP: Uploading Files to the FTP Server has Inconsistent...
__Method Name:__ UploadFile()__Issue:__ Files Uploaded to FTP Server has Inconsistent BehaviorI am trying to upload the file from local path to the ftp server, there is no exceptions in the...
View ArticleNew Post: Scp Upload, remote file quotes...
Hi All, Trying to use ScpClient, filename - stringing full file path/name ScpClient scpClient = new ScpClient(host, username, password); scpClient.Connect(); scpClient.Upload(File.OpenRead(fileName),...
View ArticleNew Post: Error accessing SFTP site from server, yet works from PC
My first thought is that the server cannot read the private key file.
View ArticleNew Post: NetConfClient talking to NXOS XMLAGENT hangs
When creating an object using Renci.SshNet.NetConfClient it appears that a the client "Hello" does not complete. I think it is related to a missing EOL (CRLF) when I use a SSH client such as putty a...
View ArticleNew Post: Receiving no result, no response from remote linux server
Hi all, I'm trying to execute few commands on remote linux server through SSH.NET (SshClient). I'm getting connected successfully, but when I gave new command suppose (cd mydir) I don't receive any...
View ArticleNew Post: When Listing files using ListDirectory is there a way to not...
I need to list the files in the current directory without getting the child directories. Is there a way to do this?filePath = "." For Each f As Renci.SshNet.Sftp.SftpFile In...
View ArticleNew Post: When will an updated nuGet package become available?
Let me start by saying thanks for the wonderful open source library! It's been a great resource for us. I'd like to ask when an updated nuGet package can be expected. We've experienced a Null Reference...
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 ArticleReviewed: 2013.4.7 (Dec 12, 2013)
Rated 1 Stars (out of 5) - Can you please provide a zipped version of the compiled library. it is blocked otherwise by most big corps.
View ArticleCreated Unassigned: In some error cases, an unhandled exception might be...
There is a race condition that can cause an unhandled exception to be thrown. Take a look at the following code:```C#try{// "server" needs to be changed to a real SSH server// The credentials do not...
View ArticlePatch Uploaded: #15568
dcormier has uploaded a patch.Description:This patch fixes a race condition that may cause an unhandled exception when Session.RaiseError is called from within Session.MessageListener(). This exception...
View ArticleCreated Unassigned: ForwardedPortDynamic unhandled exception if client...
In my experimenting, it wasn't uncommon for a browser to initiate a connection with the SOCKS proxy hosted by SSH.NET, then abort the connection before the response came back. This resulted in a...
View ArticleCreated Unassigned: SftpClient ctor throws exception when hostname has _...
The constructor for SftpClient and SshClient class throws an ArgumentException when the hostname has an underscrore character '_' . Using disassembly I can find the issue is the regex _rehost in...
View ArticleCommented Unassigned: In some error cases, an unhandled exception might be...
There is a race condition that can cause an unhandled exception to be thrown. Take a look at the following code:```C#try{// "server" needs to be changed to a real SSH server// The credentials do not...
View Article