S
S
Sergey Cherepanov2014-12-11 12:57:35
linux
Sergey Cherepanov, 2014-12-11 12:57:35

How to write a web application wrapper over the console (bash)?

Essence of the question: it is necessary to create an interface that will allow you to execute console commands on one and / or several servers. In theory, there will be a central management server that sends commands via ssh or otherwise commands to servers in the cloud. Those, in turn, must return the result of the work of these commands. In general, everything is as it should be, with error handling and real-time progress monitoring (stdout, stderr).
What would you choose to solve the problem?
I will be glad to any thoughts.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
brutal_lobster, 2014-12-11
@brutal_lobster

1. There is no difference on what to write - use what you know.
2. Why your crutches? There are also ready-made orchestration and cm solutions.
3. What's the point of a web interface for executing commands over ssh? Is it better to use ssh for this?

E
Eddy_Em, 2014-12-11
@Eddy_Em

This is a huge hole. And if you still need it, it's better to take a ready-made webmin. At least everyone knows about his holes!
But I would never do that. There is ssh.

V
Valentine, 2014-12-11
@vvpoloskin

Write on anything - php, Python,peel, js. But in fact, everything has already been written) from the finished one you can take webmin, anyterm

S
safinaskar, 2014-12-12
@safinaskar

There is already such a program, shellinabox is called

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question