"Too many arguments." countermeasures for SSH key acquisition on mac

Asked 2 years ago, Updated 2 years ago, 78 views

I would like to use GitHub to use Xcode projects on multiple computers.
Therefore, we are proceeding with the setting of GitHub by referring to the page on the internet.When I ran the following command at the terminal in order to obtain the SSH key, I received the following error:I couldn't solve it even when I searched online.Could you tell me how to solve it?
(On the internet page, https://employment.en-japan.com/engineerhub/entry/2017/01/31/110000)

The environment is Sierra 10.12.6 MacBook Air.

Command

$ssh-keygen-trsa-b4096-C" (my email address)"

Error

Too many arguments.
usage: ssh-keygen [-q] [-bbits] [-t dsa | ecdsa | ed25519 | rsa | rsa 1 ]
                  [-N new_passphrase] [-C comment] [-f output_keyfile] ...

xcode github

2022-09-29 22:22

1 Answers

When I re-entered each character and re-entered it without "Option" + "-(hyphen)," the error disappeared.


2022-09-29 22:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.