ssh into remote servers, get systeminfo and print out in local terminal
I have the following script and when I run it, I don’t get the expected output to the local terminal.
I am assuming it must be the variables that I am assigning in the heredoc that is not getting printed as I expect.
Transfer file via ssh with only echo and cat command
Due to some constraints, i have to transfer local file to remote ssh with only echo
and cat
command and here-document.