1

My goal is to have a gateway that sends SSH commands to a remote server from a webpage. There are a few browser based extensions, but I wasn't able to find any that were exposed via Javascript. Is there a way to accomplish this client-side without a proxy server in between?

I really don't even need async communications, I really just need a "fire and forget" bucket for SSH calls triggered from a webpage, hopefully without introducing another service somewhere.

2
  • JS only has ajax, and ajax only reliably works on the http(s) protocol... Commented May 13, 2013 at 19:06
  • 1
    I ended up introducing a service in the form of a PHP page. The browser makes jsonp calls, the PHP script does the SSH login and commands. I've yet to find a browser-based solution for this. Commented Jul 10, 2013 at 22:46

1 Answer 1

1

You can check out Ajaxterm which is a web based terminal.

also check Orbited which is provides a JavaScript TCP socket API for real-time browser applications.

I hope that help you.

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.