diff options
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | pars.sh | 6 |
2 files changed, 10 insertions, 1 deletions
@@ -13,3 +13,8 @@ Instructions ``` parssh --help ``` + +- Export functions and variables from local Bash session to remote hosts and execute: +``` +parssh "$(declare -f functions; declare -p variables); functions" < serverlist +``` @@ -179,6 +179,10 @@ _parssh.usage () { ""\ " < SERVERS"\ " Unless '-s' flag is used, STDIN will be used as list of remote servers."\ - " (Deliniated by newlines)." + " (Deliniated by newlines)."\ + ""\ + "NOTES"\ + " Given the nature of entering passwords manually, this function will likely not be"\ + " very useful without properly authorized SSH keys on all SERVERS." return 1 } |