Does anyone know if there is a secure Telnet Rails Web Application that
is
available? i.e. to allow a telnet (SSH) session but in a
web-application
form (i.e. you deploy the rails application on the host you want to
telnet
to)
Background (if you wondering why I ask) is because I haven’t solved the
following, and I see this is one way around the constraint I have:
============================================
Hi,
I have only port 443 available (for secure based connections). That is
for
logging out of a specific external environment back into my own network.
Question - How can I have both my SSL enabled Apache Web Server (httpd)
AS
WELL AS my SSH server (sshd) sharing this port???
I can’t even use logging onto my linux firewall box
(www.clarkconnect.com)
to switch one off listener and and then the other on as an option, as I
need
to log in via HTTPS to the Apache Web Server to do this, so if I switch
it
off I wont’ be able to log back in to switch it on again.
Is there no way for Apache/modules to look at traffic on incoming port
443
and direct it to a particular application/process on that same box based
on
some element of the traffic coming in?
Question - How can I have both my SSL enabled Apache Web Server
(httpd) AS WELL AS my SSH server (sshd) sharing this port???
You can’t in any clean way. You might be able to write a proxy which
looked at the first bits of traffic to come in and, depending on
whether the traffic looks like the start of an SSL or SSH connection,
proxy the packets directly to an appropriate local server. This is
kind of messy, though (and gets into all sorts of issues related to
long-lived vs. short-lived connections).
That said, you might be able to do something with Ajaxterm, giving you
a terminal via SSL (rather than SSH):
re “a terminal via SSL (rather than SSH)” - Yes this is what I
interested /
meant to ask about. Has someone already created a Rails application
(that
could run under SSL) that uses AJAX to create a “telnet” like (of “ssh”
like) terminal to the server?
I’m open to any solution that is easy for me to install on my Linux
firewall
PC, that has Apache running (see www.clarkconnect.com). I just
mentioned
Rails I guess because I have deployed/built a rails application before,
so
if it were buggy or needed some mod’s it would be easier for me.
I’ve heard rumor that Slicehost’s console is Ajaxterm, somehow
integrated with Rails.
Let me turn your question on its head: what kind of integration do
you need? What do you need from Rails, specifically? Is there a
reason you couldn’t run Ajaxterm alongside a Rails app (given that you
appear to be using Apache and, presumably, could use mod_rewrite to
funnel traffic to appropriate app)?
-faisal
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.