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?