New 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 ArticleCreated Unassigned: Bad behaviour with symbolic links [1856]
Symbolic link are most of time resolved because of the use of GetCanonicalPath().This appears when calling GetAttributes() and when listing files.The size of symbolic links in the SftpFileAttributes...
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 ArticleCreated Unassigned: Command requires confirmation YES/NO [1863]
I need to execute command to restore router data but ssh command requires additional confirmation yes/no. In the putty I type additional command yes.How can I execute restore command with confirmation?
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 ArticleNew Post: SSH connection issue
Hello Im a c# newbie, i used the code mentioned above with some modifications. im trying to SSH into a linux busybox (unify Acces point) the idea is to do a scheduled restart of the device, once every...
View ArticleNew Post: ssh.net $Path not returning everything
With putty, you have an interactive shell, and many files are sourced (.bash_profile, .bashrc, .profile...). With a non interactive shell (this is the case with CreateCommand()), a subset or none of...
View ArticleNew Post: SFTP Without username and public key
Hi, is it possible to connect using a public key without a username/password?
View ArticleCreated Unassigned: System.OutOfMemoryException when trying large files in...
Exception of type 'System.OutOfMemoryException' was thrown.mscorlib at System.IO.MemoryStream.set_Capacity(Int32 value) at System.IO.MemoryStream.EnsureCapacity(Int32 value) at...
View ArticleNew Post: ShellStream works - Sheel and Command do not work
Hi all, I have to connect to a Linux machine which has an SSH server running on it. Connecting using ShellStream works fine:ConnectionInfo connectionInfo = new PrivateKeyConnectionInfo (...
View ArticleNew Post: Timeout value in ConnectionInfo - not used for Sftp?
When doing ListDirectory on an SftpClient where you are connected to a server that has silently disconnected (wlan down), SSH.NET will hang indefinately (I waited at least 20 minutes). I have set a...
View ArticleNew Post: Transferring from Server to Server Using Streams
I have two SFTP servers that both have SFTP servers installed. My question is, can my application, working as a middleman or controller, transfer files between these two servers without having to have...
View ArticleNew Post: Unable to connect to : Exception calling "Connect" with "0"...
Hello, I am trying to connect to an IBM Advanced Management Module (AMM) from Powershell, usinh the SSH-Sessions module, but I get this message: Unable to connect to 10.220.12.220: Exception calling...
View ArticleNew Post: Unable to connect to : Exception calling "Connect" with "0"...
What about giving us some useful informations? Like commands/code? Maybe? :P
View ArticleNew Post: Need latest DLL for .net 3.5 framework
Hi , I can see so many changes has been done to the source code for various issues or suggestion , The binaries are dated 6th April 2013 , so could you please share or provide me a link for latest...
View ArticleNew Post: Unable to connect to : Exception calling "Connect" with "0"...
Hello, After doing Import-Module SSH-Sessions, I try to connect as follows: PS C:> New-SshSession -ComputerName 10.220.12.220 -Username USERID -Password *********** Unable to connect to...
View Article