SwiftSH icon indicating copy to clipboard operation
SwiftSH copied to clipboard

Active use?

Open jesper-bylund opened this issue 4 years ago • 7 comments

I know this is a wrong use of issues. But it's the best way to reach fellow devs in this situation I think:

Is anyone using this lib for active development? If not, what are you using instead?

jesper-bylund avatar Aug 02 '19 07:08 jesper-bylund

Trying to use this, have you found a substitute?

jandolina avatar Oct 29 '19 22:10 jandolina

Is there a reason not to like SwiftSH, particularly bearing in mind @Frugghi is the author of the biggest objective-c wrapper for libssh2 started in 2013? Is it just the low star count?

(I personally haven't used this yet, but am likely to, so this is not intended as a rhetorical question)

jeff-h avatar Oct 29 '19 22:10 jeff-h

@jandolina I haven't found a substitute, this really seems like the friendliest implementation.

@jeff-h mostly for the lack of support and examples. It makes it hard to use when you don't already understand SSH completely.

jesper-bylund avatar Nov 04 '19 12:11 jesper-bylund

@jesper-bylund @jeff-h Is this library used with Objective-C or Swift? Because after installing the Podfile, when I tried importing it in my Swift ViewController, I got the error "Could not build Objective-C Module 'SwiftSH'". Please let me know how to use this library? Thanks in advance!

avneet-01 avatar Mar 11 '21 19:03 avneet-01

@avneet-01 sorry, I never ended up needing this so I haven't had the chance to use it.

jeff-h avatar Mar 11 '21 23:03 jeff-h

I used it on a project ages ago. A quick search came up with https://swift.org/blog/swiftnio-ssh/. Maybe that will be a simpler solution.

jandolina avatar Mar 12 '21 00:03 jandolina

While it appears that no additional updates are coming, I can assure you that SwiftSH continues to work, and is being used in production applications (including my own). I wish it supported setting up SSH Tunnels, but it otherwise does exactly what it says.

As for SwiftNIO-SSH, it's a super-compelling, modern answer to SwiftSH. Unlike this library, it's not a wrapper for libssh2, but a whole-ass re-implementation of the SSH spec in a native Swift library. I'd be all over it right now, were it not for its lack of support for OpenSSH keys! And honestly, until that issue is resolved (via some kind of plugin, as it seems the SwiftNIO team isn't interested in doing this), I don't really see it taking off. We all still live in a world dominated by OpenSSH.

aaronvegh avatar Mar 13 '21 20:03 aaronvegh