create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| func canFail() -> Result<Int, Error> { | |
| Bool.random() | |
| ? .success(7) | |
| : .failure(NSError()) | |
| } | |
| func neverFail() -> Result<Int, Never> { .success(9) } | |
| func absurd<A>(_ never: Never) -> A {} |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
The docs for GitHub show a command to create a key with the ed25519 encryption method which is not allowed by Xcode. Even if you are not using the Source Control features in Xcode you will often need to use an account with GitHub when you are consuming Swift packages which are pulled from GitHub.
For SSH keys there are 4 algorithms.