I am trying to write a shell script using bash. I have several servers, and each server has several application launches. Each server also has special application scripts for checking / stopping / starting, etc. All I want to do is do ssh and connect to the remote server. Which I can also do successfully and exclude teams as well.
In some cases, I need to check the status of a process on a remote machine, this makes specific application scripts. But using my ssh, when I try to run this script, I do not receive any information (it starts, but the information is not transmitted). How to get information from a remote host and display it on a local host here.
Any help on this is really appreciated.
Regards, Senny
source share