Keiry Alonzo Peniche
PreguntaAl generar la llave ssh-keygen -t rsa -b 4096 “mi correo” me sale esto:
Too many arguments.
usage: ssh-keygen [-q] [-b bits] [-C comment] [-f output_keyfile] [-m format]
[-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa]
[-N new_passphrase] [-O option] [-w provider]
ssh-keygen -p [-f keyfile] [-m format] [-N new_passphrase]
[-P old_passphrase]
ssh-keygen -i [-f input_keyfile] [-m key_format]
ssh-keygen -e [-f input_keyfile] [-m key_format]
ssh-keygen -y [-f input_keyfile]
ssh-keygen -c [-C comment] [-f keyfile] [-P passphrase]
ssh-keygen -l [-v] [-E fingerprint_hash] [-f input_keyfile]
ssh-keygen -B [-f input_keyfile]
ssh-keygen -D pkcs11
ssh-keygen -F hostname [-lv] [-f known_hosts_file]
ssh-keygen -H [-f known_hosts_file]
ssh-keygen -K [-w provider]
ssh-keygen -R hostname [-f known_hosts_file]
ssh-keygen -r hostname [-g] [-f input_keyfile]
ssh-keygen -M generate [-O option] output_file
ssh-keygen -M screen [-f input_file] [-O option] output_file
ssh-keygen -I certificate_identity -s ca_key [-hU] [-D pkcs11_provider]
[-n principals] [-O option] [-V validity_interval]
[-z serial_number] file …
ssh-keygen -L [-f input_keyfile]
ssh-keygen -A [-f prefix_path]
ssh-keygen -k -f krl_file [-u] [-s ca_public] [-z version_number]
file …
ssh-keygen -Q -f krl_file file …
ssh-keygen -Y find-principals -s signature_file -f allowed_signers_file
ssh-keygen -Y check-novalidate -n namespace -s signature_file
ssh-keygen -Y sign -f key_file -n namespace file …
ssh-keygen -Y verify -f allowed_signers_file -I signer_identity
-n namespace -s signature_file [-r revocation_file]

Adrian Salgado
A mi me ocurrió el mismo error, decidí dejarlo pasar osea no poner : -c "correo" ejecute el comando funciono y pude seguir los demas pasos de la clase.
Keiry Alonzo Peniche
Camilo el comando esta incompleto. aparece que debe ser: keygen -t rsa -b 4096 "email de github
pero en realidad es:
keygen -t rsa -b 4096 -C "email de github
le falta el -C.
Espero te sirva

Yan Camilo Sanchez Huelgos
no me deja o toma captura dando un ejemplo a mi me pasa igual y no pueso
Keiry Alonzo Peniche
Super Gracias, J!!!

John Cardenas
¡Hola!
Te faltó agregar un argumento, el que indica que vas a agregar un correo. Este es el comando completo, solo reemplaza los datos: ssh-
keygen -t rsa -b 4096 -C "email de github"