S
S
Sergey Brovko2016-03-31 05:06:15
linux
Sergey Brovko, 2016-03-31 05:06:15

What are the tools for executing commands over SSH?

Hello, tell me about this issue:
There is a server (on Debian), for certain reasons, you need to give access to this server to a person who knows little about Linux. Of course, you can give full access, but the chance that he will kill the server is huge.
Is there any means (preferably for Windows) that allows you to "click" to execute something like a macro over SSH? Those. launched the "shortcut", it connects via SSH to the server (by key), executes command1, shows the result (or does not show anything at all), executes command2, etc. etc.? Maybe one of the SSH clients allows you to do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Lebedev, 2016-03-31
@cyber01

As an option, run Putty from the command line putty.org.ru/faq/howto-startssh.html and write a batch file there

O
O. J, 2016-03-31
@OrlovEvgeny

$ ssh [user]@[server] '[command]'
or
So that your hands do not itch
https://www.opennet.ru/base/sys/file_access.txt.html
heap.altlinux.org/modules/linux_permissions/index.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question