Part of the ssh toolkit, ssh-keygen is used for creating keys for signing or encrypting.
See also ssh sshd