Code cleanup, use renamed sshkey functions.

* GenerateSSHKey -> GenerateKey
* When a key file already exists, prompt for overwriting.
* Check for passwords < 5 characters long.

The last two are to bring this closer to emulating ssh-keygen(1)
behaviour.