New 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 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 ArticleNew Post: SSH Tunnel / Port Forwarding
In my opinion you are using a wrong connection string. After forwarding your local port to the remote one through ssh, you must connect using "locahost", not "data". More, MySql standard port is 3306,...
View ArticleNew Post: Need latest DLL for .net 3.5 framework
Why not just compile? Thankfully, the classes were put together correctly.I modified the source as posted previously, made a new c# project in my solution, and it compiled to dll first time under...
View ArticleNew Post: SFTP Middleman Transfer
Is there a way to have my application act as a "middleman" without saving the file locally? For example, a user clicks a button than the application grabs a file from SFTP Server A, then transfers it...
View ArticleNew Post: An established connection was aborted by the software in your host...
Hi! At the moment I am a bit unsure if it is due to using the ForwardedPortLocal and that my requests to the server side not always turns out to be ok, or how I should but it. Have created a camera...
View ArticleNew Post: SftpClient.Exists always return true
I've just bumped into this issue as well. It only seems to occur when using a remote sshd for me. The issue tracker appears to be down. Was there a useful workaround in the bug report?
View ArticleNew Post: Tailing a file as its being written
Any update on the problem with the complete reprint of the output?
View ArticleNew Post: Tailing a file as its being written
So here's how I did it, it works-ish, but sometimes randomly disconnects or stops tailing. Let me know if you have any questions.PasswordConnectionInfo connectionInfo = new...
View ArticleNew Post: Use SSH.NET for regular FTP
Hi, this may sound like a stupid question, but can I use SSH.NET for regular FTP connections and downloads? I'd like to use this since I'm already familiar with their syntax for SftpClient. Regards,...
View ArticleNew Post: SSH Tunnel / Port Forwarding
I had the problem when I used that override: public ForwardedPortLocal(uint boundPort, string host, uint port);var port = new ForwardedPortLocal(27017, "127.0.0.1", 27017); Instead, I used var port =...
View Article