I am trying to automate (thru a script) the process of setting up SSH and its public-key authentication features across multiple unix servers and am wodering if someone knows of a way to automate the ssh-add part of the setup so that keyboard input is not required when asked for the passphrase. I tried redirecting input from a file but it appears that this is not an option. There is a reference to ssh_askpass but that is not loaded on any of my servers.
Start Free Trial