diff options
author | Jim Pannacciulli <jpannacciulli@mediatemple.net> | 2015-04-20 12:19:21 -0700 |
---|---|---|
committer | Jim Pannacciulli <jpannacciulli@mediatemple.net> | 2015-04-20 12:19:21 -0700 |
commit | 2051725c4a7718911bbc11f1e29d284e6933d333 (patch) | |
tree | 1fd7ab2d78f6644ba58ec1e0051fd53b805970b5 | |
parent | 65f775b0685eb099046ae2e7ae30ca8330991478 (diff) | |
download | parssh-2051725c4a7718911bbc11f1e29d284e6933d333.tar.gz parssh-2051725c4a7718911bbc11f1e29d284e6933d333.tar.bz2 |
Small additions to usage and readme
-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 } |