0
vivek7
8y

need ideas to create an app that runs linux commands on a server from a web page.
i have tried sshxcute lib of java to do the same .it works

any other ideas

Comments
  • 0
    didn't someone already invent that wheel?
  • 0
    dnt knw bt i want to try
  • 2
    Well that depends, do you want to run commands on the server that the page is being server from or an arbitrary remote server?
  • 0
    remote ...for eg an aws cluster

    right now i created a spring boot app using sshxcute lib which runs on my local machine ...
    this app runs a local tomcat server which ssh the remote linux server

    it works

    any other way other than sshxcute lib
  • 1
    A web interface to run some Ansible playbook? An interface to trigger a Jenkins build? Given that it sounds like this has no specific purpose it's very difficult to help if you ask me xD
  • 3
    Deploy a socket program at server which will accept encrypted commands and execute them.
  • 1
    Yeah, this is terrible security practice.
Add Comment