SSH/VNC/RDP Client Gems

26 views
Skip to first unread message

Reg Natarajan

unread,
Aug 22, 2015, 2:51:44 AM8/22/15
to Ruby on Rails: Talk
I have a new project that I'm considering writing in Rails.  I've never written anything in Rails but I've been through my share of languages over the last few decades and I'm not afraid of new things.  Given this, I may have some concepts wrong and will almost certainly have some wording wrong.

I need an SSH client library that will run in a browser and which doesn't use Java or Flash.  Ideally raw HTML5.   It's essential that it support both password and key based authentication.  It would be nice to have but not essential that I could also have VNC and even RDP.   I'm assuming I'm looking for a Rails Gem.

Can anyone guide me down the right path?

Thanks,
Reg

Matt Jones

unread,
Aug 24, 2015, 2:17:47 PM8/24/15
to Ruby on Rails: Talk


On Saturday, 22 August 2015 02:51:44 UTC-4, Reg Natarajan wrote:
I have a new project that I'm considering writing in Rails.  I've never written anything in Rails but I've been through my share of languages over the last few decades and I'm not afraid of new things.  Given this, I may have some concepts wrong and will almost certainly have some wording wrong.

I need an SSH client library that will run in a browser and which doesn't use Java or Flash.  Ideally raw HTML5.   It's essential that it support both password and key based authentication.  It would be nice to have but not essential that I could also have VNC and even RDP.   I'm assuming I'm looking for a Rails Gem.


Without Java or Flash, "running in a browser" is not exactly possible. There are solutions like (haven't tried this, was a top Google result):


but that isn't an SSH client in a browser, it's a browser-based interface to the SSH client on the server. Using it with key-based authentication means the private keys will need to be available to the *server*, which may be a deal-breaker if you're trying to build a service for people to connect to third-party SSH hosts.

There are similar projects for RDP:


But again, this is a "JS frontend to server-installed software" approach, not entirely client-side.

--Matt Jones
Reply all
Reply to author
Forward
0 new messages