Execute a local bash script through SSH
Before this blessed day, I lost my time copying my bash scripts on the remote machines where I wanted to execute them through the ssh command. Until now, when I discovered that it is not necessary, thanks to the bash -s flag.
$ ssh user@remote 'bash -s'
No comment yet.
A remark, a suggestion? Do not hesitate to express yourself below. Just be courteous and polite, please.