D
D
Dim2020-10-28 13:53:20
SSH
Dim, 2020-10-28 13:53:20

Running a .sh script on a remote server from a shortcut in windows?

Subject. Windows 7-8-10. How can I simply create a shortcut so that, on click, login to a remote nix server and run a .sh script?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-10-28
@Dee3

This can be done using the psexec utility .
The simplest example is something like this:

psexec.exe \\10.11.12.13 -u Username -p Password cmd.exe /c echo test

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question