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

New Post: ExpectAction Problem

Never mind, I found the issue that had been plaguing me. The root cause of my problem was that I didn't realize that WriteLine was sending "\r\n". Cisco routers don't line the linefeed. This had worked...

View Article


New Post: Shell functionlity

supermanSC wrote: I'm trying to get this working on a Cisco 65xx switch, and can't seem to get past the enable password prompt.  Oleg, if you're not familiar with Cisco, once you connect using the...

View Article


New Post: SFTP Keyboard Interactive Authentication

Hi, I'm trying to get files via sftp, but I can figure out which classes I need to use. At first I tried to connect by simply using an SftpClient object, like shown in an example I found using (var...

View Article

New Post: Unable to show result if it has more than a line.

Hi, First of all thanks for developing such a great library for SSH. I am facing a problem whereby I am not able to show the result if I execute command such as "ls", which will return result with more...

View Article

New Post: No strong naming?

Is it possible to enable strong naming for this library in the NuGet package?

View Article


New Post: "Session operation has timed out" error?

Hi, I am trying to use this library to upload a file via SFTP, and it connects fine and even puts an empty file onto the SFTP server, but then it just sits there and eventually times out with a session...

View Article

New Post: "Session operation has timed out" error?

Any suggestions on what to try here? This same code works perfectly to a windows server using WinSSHD and also to a Linux server. But it fails when connecting to the server we need to connect to (which...

View Article

New Post: "Session operation has timed out" error?

Aha, finally found the issue! The core problem is the server we are connecting to is really, REALLY slow! I have no idea why it is so slow, but with the default buffer size of 16K, it times out trying...

View Article


New Post: "Session operation has timed out" error?

Hmm, the connection we are using to this server appear to be a T1, as it runs about 130KB per second. So it makes no sense that a 16K buffer transfer would cause a timeout? I think I will try different...

View Article


New Post: "Session operation has timed out" error?

Pretty sure at this point there is something totally screwy with EFT Server 6.1.0. Using FireFTP to upload files to their server takes about 1:20 to upload 6MB of data. When I change the buffer size in...

View Article

New Post: Cannot make SshClient stop echo-ing

Hi, When I setup a connection to an SSH Server I see the commands I send later echoed back to me. How can I stop getting my commands echo'ed back to me? I use the following code, with variations.......

View Article

New Post: SSH.NET for Microsoft.Net 4.0

Hello, I would like to know can we implement SSH.NET library in the application without storing certificate in the code? Best Regards, Chetan Navale | chetan.navale@hotmail.co.in | +91-9373364792

View Article

New Post: Coding Problem

Hello Friend I am making a GUI for my vpn in visual basic and I am getting a problem when I am using ("perl something.pl" + somehting + something1 + something2) but when I am using ("perl something.pl...

View Article


New Post: Channel sessions not cleaning up (Avoiding Memory Leaks)

I have an application which requires very long term execution. It creates a series of SshCommand objects (Each with a specific command) then executes those (using command.execute()) once every few...

View Article

New Post: SSH through Proxy Problem

Hello guys, im trying to connect through a proxy to my SSH server but i get an exception: "Socket read operation has timed out". In the Java Console i can see that it is connecting to Proxy but cant...

View Article


New Post: No such File or Directory

The issues with this code snippet is that a user might not have the rights to do anything but scp. Calling the "cd" command will only raise an error. For my purposes, I created an additional method in...

View Article

New Post: Channel sessions not cleaning up (Avoiding Memory Leaks)

The code in SshCommand 2013.4.7 (EndExecute): public string EndExecute(IAsyncResult asyncResult) { if (this._asyncResult == asyncResult && this._asyncResult != null) { lock...

View Article


New Post: IsConnected does not accurately reflect connection status?

Hey folks, I have an odd issue and I'm trying to figure out if this is a bug or I'm just doing things wrong. I have code that opens a connection , writes a line to a ShellStream, and then monitors the...

View Article

New Post: Launch distant bash script

Hi! I'm using SSH.NET to launch bash scripts (stored in my database) on distant computers.using (SshClient client = new SshClient(execution.Host, 22, execution.User, key)) { client.Connect();...

View Article

New Post: Sequential commands while retaining previous environment

I searched for an answer to my question but was not able to really find anything. I know the answer is probably simple, but... I need to programmatically run commands sequentially while retaining the...

View Article
Browsing all 1729 articles
Browse latest View live


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