New Post: sftp behind proxy unable to connect
Hi Guys, this may sound familiar but I am unable to get it to connect: Exception: at Renci.SshNet.Session.SocketReadLine(String& response) at Renci.SshNet.Session.ConnectHttp() at...
View ArticleNew 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 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 ArticleNew Post: Double user login
I have a situation where i will login to a server using root user and password. but sometimes i will get a prompt "Do you want to login to primary console (yes or no)". we will give yes and will be...
View ArticleNew Post: ssh.net $Path not returning everything
Hi, in my code, i have this line that passes the command to the unix boxvar cmd = ssh.CreateCommand(string.Format("pwd ; echo $PATH")); what it returned is /users01/myname /usr/bin:/usr/sbin:/sbin but...
View ArticleNew Post: Loop through files in SFTP folder
I am trying to write a routine to loop through all the files in a folder copy them of and then delete them from the SFTP Folder. What would be the loop look like and methods I would need to use. Thanks.
View ArticleNew Post: SendKeepAlive exception close the application
Hi, I'm having trouble with one exception in the dll that Renci is finalizing my application, menssage de error is "An established connection was aborted by the software in your host machine". With a...
View ArticleNew Post: TypeLoadException when using SFTPClient on Android with Xamarin Studio
I am referencing the Renci SSH library in my project and I am trying to execute the code. I get an error saying: UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type...
View ArticleNew Post: PortForwardingL: local port 127.0.0.1:3306 cannot be bound.
session.setPortForwardingL(lPort, "localhost", rPort); i get the=message at this stage can someone tell me why? my firewall is off
View Article