I'm trying to create an SSH key to eventually use to connect to a cloud based VM.
(base) Mac:~ user$ ssh-keygen -t rsa -b 2048
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/<my_account>/.ssh/id_rsa): test123
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in test123.
Your public key has been saved in test123.pub.
The key fingerprint is:
SHA256:123123123123123 user@user.local
The key's randomart image is:
+---[RSA 2048]----+
| REDACTED |
+----[SHA256]-----+
Now according to tutorials the key should be in
/Users/<my_account>/.ssh/id_rsa.pub
There doesn't seem to be anything in /.ssh
other than a file called known_hosts
. Where abouts am I going wrong?