Greg Hauptmann
2007-Nov-28 03:13 UTC
is there a Telnet Rails Application that someone has build/released?
Hi, 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? Thanks ======================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Faisal N. Jawdat
2007-Nov-28 03:27 UTC
Re: is there a Telnet Rails Application that someone has build/released?
On Nov 27, 2007, at 10:13 PM, Greg Hauptmann wrote:> 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): http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm -faisal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Greg Hauptmann
2007-Nov-28 03:35 UTC
Re: is there a Telnet Rails Application that someone has build/released?
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? On Nov 28, 2007 1:27 PM, Faisal N. Jawdat <faisal-yPPMdBsEuU/QT0dZR+AlfA@public.gmane.org> wrote:> > On Nov 27, 2007, at 10:13 PM, Greg Hauptmann wrote: > > 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): > > http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm > > -faisal > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Faisal N. Jawdat
2007-Nov-28 04:13 UTC
Re: is there a Telnet Rails Application that someone has build/released?
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 On Nov 27, 2007, at 10:35 PM, Greg Hauptmann wrote:> 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? > > > On Nov 28, 2007 1:27 PM, Faisal N. Jawdat <faisal-yPPMdBsEuU/QT0dZR+AlfA@public.gmane.org> wrote: > > On Nov 27, 2007, at 10:13 PM, Greg Hauptmann wrote: > > 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): > > http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm > > -faisal > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Greg Hauptmann
2007-Nov-28 04:28 UTC
Re: is there a Telnet Rails Application that someone has build/released?
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. What is Ajaxterm? On Nov 28, 2007 2:13 PM, Faisal N. Jawdat <faisal-yPPMdBsEuU/QT0dZR+AlfA@public.gmane.org> wrote:> > 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 > > On Nov 27, 2007, at 10:35 PM, Greg Hauptmann wrote: > > > 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? > > > > > > On Nov 28, 2007 1:27 PM, Faisal N. Jawdat <faisal-yPPMdBsEuU/QT0dZR+AlfA@public.gmane.org> wrote: > > > > On Nov 27, 2007, at 10:13 PM, Greg Hauptmann wrote: > > > 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): > > > > http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm > > > > -faisal > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---