Automate ssh-keygen -t rsa so it does not ask for a passphrase
ssh-keys
Solution
To generate a SSH keypair without being prompted for a passphrase you can do the following:
$ ssh-keygen -f id_rsa -t rsa -N ''
Problem
I need to automate `ssh-keygen -t rsa` with out a password i.e. enter at the prompt. How can I do that from a shell script?