HA! I figured out how to get ssh-keygen to read stdin by using the