remote-tools.sh is required expect script.
remote-tools.sh provides following commands
- adduser
- Add user and set password to the remote hots. Root privilege is needed.
- copy-key
- ssh-keygen and ssh-copy-id to the remote hosts.
- copy
- copy a file to the remote hosts
- run
- run a command at the remote hosts