A
A
Artem Chernousov2020-03-27 22:37:29
PHP
Artem Chernousov, 2020-03-27 22:37:29

How to integrate SSH interface to the site?

There is a local site, you need to stir up ssh buttons on it, which will execute commands on another computer in LAN. Using a third party ssh interface is not an option.
Not so much is known about the web dev, tell me where to dig?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
F
FEDKOTV, 2020-03-27
@FEDKOTV

In Google for the question: web based ssh terminal there are many options.
I think it's worth starting with them, unless of course I understand the question correctly.

S
Sanes, 2020-03-27
@Sanes

Dig towards PHP.
exec, shell_exec, passthru, ssh2_exec, etc.

V
Viktor Taran, 2020-03-28
@shambler81

https://habr.com/ru/post/139878/
and on the git there is

F
falits, 2020-03-28
@falits

If you have something of your own, you can go to https://xtermjs.org/
There is also where it is used. I installed webssh2 and it worked fine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question