资 源 简 介
Trustbuilder is a simple bash script that runs on one host, and automates the very common and tedious process of exchanging encryption keys with another host. This is often done for linux and unix servers to allow scripts to login to a remote servers using ssh authentication, without requiring a user to enter a password. I.E., this sets up unattended server-to-server authentication for you. There is no error handling in this script, and this type of key exchange may be considered an insecure practice by some institutions. Use at your own risk.
The manual process is documented here (as well as countless other places).
http://www.wonderland.com/~dracon/buildstuff/unattended_ssh.html
Here are the usage instructions:
When running the script, you MUST provide two arguments:
Remote Post (ip or hostname)
Remote Port (tcp port)
Here is an example of the command to execute this script:
./trustb