0

i am developing an application using Ruby On Rails where I am displaying a link button. On a click of this button i want to ssh login to another server say

 ssh [email protected]

I want to open the terminal on a click of button and user should already be logged in there(internally providing password for ssh login). Anybody tell me how to do it? should i do it using JAVA or J Ruby?

5
  • do you have a web application and want to open the terminal window on the client side? Should the login information come from the server or the client? Commented May 29, 2013 at 6:45
  • yes.. on client side i want to open it.. n clinent infrmation will come from server side Commented May 29, 2013 at 8:20
  • well, there can't be a way to open e native ssh on the client side. First, the sandbox of the browser (should) prohibit any activity outside the browser. Second, what terminal? PuTTY, xterm, Terminal.app? It depends on the client operating system. You would need some Java terminal emulation and open a server shell in that emulation that executes the ssh to the other server. Commented May 29, 2013 at 8:23
  • ok.. can i provide a terminal on browser itself? something like virtual terminal? Commented May 29, 2013 at 8:36
  • how can i do it using gnome-terminal? Commented May 29, 2013 at 8:38

1 Answer 1

1

Use a Java Terminal emulation like JCTerm or dragonconsole or google for java browser terminal emulation

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.