GenerateSSHKeys generates sample ssh keys in the specified directory. The generated keys are: rsa, ecdsa-256, ecdsa-384, ecdsa-521 and ed25519.
SSHAdd runs ssh-add in the specified directory to connect to the agent sockname to add the specified keys.
SSHKeyGen runs ssh-keygen in the specified directory to generate a key stored in filename, eg: SSHKeyGen(dir, "ecdsa-256", "-t", "ecdsa", "-b", "256", "-C", "ecdsa-256")
SSHKeyGenAdd uses SSHKeyGen and SSHAdd to generate and add a key to an ssh agent.
StartPreconfiguredAgent starts an ssh agent and preconfigures it with the keys generated by GenerateSSHKeys. It returns a cleanup function, the socket name for the agent, the directory that the keys are created in and an error.
StartSSHAgent starts an ssh agent and returns a cleanup function and the socket name to use for connecting to the agent.