Quantcast
Channel: sshnet Discussions Rss Feed
Browsing all 1729 articles
Browse latest View live
↧

New Post: Looking for help getting started

I'm brand new to the concept of FTP, SSH, SFTP, that sort of thing. While looking for a way to interact with SFTP in C#, I came across this library. After spending a few hours reading through the...

View Article


New Post: Looking for help getting started

Not quite sure what you're looking for, but in thinking about some things that might cause confusion to someone just getting started I can think of the following grossly oversimplified comments: FTP is...

View Article


New Post: Exception on Disconnect "An established connection was aborted by...

I'm getting a SocketException when calling Disconnect(). I dug through the code and can see what's happening: In BaseClient.cs we have this: public void Disconnect() { ... OnDisconnecting(); // <---...

View Article

New Post: Looking for help getting started

Wow, that's way more than I was expecting! Thank you so much! I wasn't too familiar with the different FTP protocols, so your explanation was very helpful. :)

View Article

New Post: Looking for help getting started

Your welcome! I'm also hoping it will help others just getting into it too. Let us know if you're able to successfully get something going and what, if anything you think someone else might get hung up...

View Article


New Post: Looking for help getting started

I saw that someone a while back had considered writing a tutorial, but all helpful documentation on this seems to be in this forum. Your post has been the most helpful thing I've seen thus far for the...

View Article

New Post: Identifying that a command has finished (ShellStream)

Did you open an ssh connection to the remote machine, get a "shell" and then execute "./interactive_command.sh" within that shell? If that's the case, then there's really no way for the "connection"...

View Article

New Post: Has anyone used Credential Manager?

I was wondering if anyone here has used/has a comment on using Windows Credential Manager? I have a library we've written that implements logging onto various providers websites, ftp, and with a little...

View Article


New Post: Identifying that a command has finished (ShellStream)

We have solved our local problem (as far as I understand, it is not a general solution) by adding into source code overloaded version of RunCommand(, Action<> InteractiveResponse). We have found...

View Article


New Post: Identifying that a command has finished (ShellStream)

I didn't realize you were simply attempting to respond to the prompts. I thought you were trying to figure out when the whole program had finished executing. The Channel_DataReceived() bit is good to...

View Article

New Post: Has anyone used Credential Manager?

In powershell, there are two very usefull functions to store Passwords in local files: 1) ConvertTo-SecureString 2) ConvertFrom-SecureString Load securestring Password from file: $securepassword =...

View Article

New Post: Files not getting uploaded (possibly???)

You should modify your program and check if your file is available (after upload).

View Article

New Post: Files not getting uploaded (possibly???)

The client even has a convenient call just for that (it throws an exception if the file can't be found): Renci.SshNet.Sftp.SftpFile uploadedFile = ftpClient.Get(x12File.Name)

View Article


New Post: Has anyone used Credential Manager?

That's a pretty convenient way to implement storing/retrieved encoded strings in PowerShell. I likely have some uses for that. :) Regarding comparing this to Windows Credential Manager or the SQL DB...

View Article

New Post: Has anyone used Credential Manager?

Hi Mike, the suggestion was made because it is very simple to provide a sample program where you don't want to keep Passwords visible. It is very simple to make a sample program and instruct the user...

View Article


New Post: Mocking the SftpClient

I'm trying to write unit tests for my application which uses the SftpClient class and I want to inject a mock (using Moq) of the SftpClient object, however I'm really struggling to manage this. I was...

View Article

New Post: How to cancel the ssh shell

i have completed the shell function ,and now , i need add a new function that cancel the shell while shell is running. client = new SshClient(ip,user,password); client.ConnectionInfo.Encoding =...

View Article


New Post: How to input commands

Guys, I need help using this cmdlet. I was able to login to a linux server successfully but I could issue any linux commands. Is there a documentation on how to use this script. Thanks

View Article

New Post: SSH connection issue

Thanks subba, you posted the code i needed. Now it works for both AIX and LINUX. thank you Oleg for this great software. regards jmueller1

View Article

New Post: Error when I login to a linux server

I'm receive errors when I login to some linux machines, the error is: "Unable to connect to watcher: Exception calling "Connect" with "0" argument(s): "No suitable authentication method found to...

View Article
Browsing all 1729 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>