views:

467

answers:

5

I'd like to incorporate OpenSSH support into a Windows application and I am looking for a library (preferably .Net or something easily integrated into .Net) that can provide this functionality. I'm more interested in ssh client software than server software, but both functions would be even better.

Edit: I'd prefer a free and open source solution.

+1  A: 

Check out WeOnlyDo. They have some nice .NET SSH components like wodSSH.Net for $199.

Also, nSoftware has some great networking components like IP*Works SSH .Net edition for $599.

If you go with nSoftware their best value is the red carpet subscription. This is what we have. It starts at $1499 per developer.

(Prices as of 3/4/09)

Dana Holt
-2 trying to sell stuff here,+1 listing the prices,+1 being exactly on point with the question.Don't know what to think...
Bill K
Not selling anything. I don't have any ties to either company, except that I have used their products.There were several down votes for this answer, but I don't understand what is inherently wrong with recommending a commercial solution.When I have the need for a library I look at all options.
Dana Holt
I don't mind that a non-free solution was offered, I just prefer to know prices in the answer. I'm the one that initially added the pricing information.
Luke
I understand adding the pricing info. That was a good addition. I was just talking about Bill K's comment about -2 for trying to sell stuff here.
Dana Holt
+2  A: 

CodeProject provides a good free option with sharpSsh

Chris Ballance
Did I mention sharpSsh is free?
Chris Ballance
++ for freeness although code project always smells funny to me.
Luke
Very true, sometimes with open source you get what you pay for, but if you're just looking for ideas it's a great place to start.
Chris Ballance
Apparently it's a port of JSch for Java, which gives me a little more confidence in it.http://www.tamirgal.com/blog/page/SharpSSH.aspx
Matt Olenik
I ended up going with sharpSSH and it worked just fine.
Luke
+1  A: 

Theres also SSH Factory for .NET and Granados for .NET at $599.

(prices as of 3/5/09)

John Ellinwood
+1  A: 

I am assuming by the way you phrased your question, it would indicate that you are mainly interested in the SSH/SSH2 functionality...

How does this sound:

Paramiko - a module for python that implements the SSH2 protocol

requires pycrypto --

popcnt
BTW, here is a article reprint available from a magazine showing how powerful paramiko can be and how simple it is to use: http://jessenoller.com/2009/02/05/ssh-programming-with-paramiko-completely-different/
popcnt
Sounds quite good. Although I specified .Net this will be good to know for future development.
Luke
I think you'd be able to integrate the IronPython version directly with .Net, since IronPython it is CLI-based implementation of Python...
popcnt
A: 

Hello, you can try our Rebex SSH Pack which includes:

  • SSH core client library compatible with OpenSSH
  • SSH Shell with terminal emulator component
  • SFTP (SSH File Transfer Protocol) client component
  • SCP client component

You can download the trial at http://www.rebex.net/ssh-pack/download.aspx

Martin Vobr