Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where was id_rsa.pub file created at? [closed]

Tags:

I ran the following SSH commands to create my rsa key but I don't know where the file was created at

drlloyd@DIS-7L79KF1 ~/.ssh $ ssh-keygen -t rsa -C "[email protected]" Generating public/private rsa key pair. Enter file in which to save the key (/f/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /f/.ssh/id_rsa. Your public key has been saved in /f/.ssh/id_rsa.pub. I removed the rsa fingerprint 

Where was the id_rsa.pub file created at?

like image 738
FarFigNewton Avatar asked Aug 17 '11 13:08

FarFigNewton


People also ask

Where is id_rsa pub stored?

Public-Key Basics ssh/id_rsa and the public key is stored in ~/. ssh/id_rsa. pub . The private key should only be kept on your local system and should be encrypted using a passphrase that is at least as strong as any password you would normally use.

What is the id_rsa pub file?

The id_rsa. pub file is basically some encrypted text in the . ssh folder under the home folder in Linux and is used for public-key cryptography. It uses the . pub file format.

Where do I find my SSH public key?

The public part of the key is saved in the id_rsa. pub file, while the private part is saved in the id_rsa file. Both files can be accessed from this location using Explorer: C:\Users\[your user name]\. ssh .

Where are SSH keys stored in Windows?

The contents of your public key (\. ssh\id_ed25519. pub) needs to be placed on the server into a text file called administrators_authorized_keys in C:\ProgramData\ssh\. You can copy your public key using the OpenSSH scp secure file-transfer utility, or using a PowerShell to write the key to the file.


2 Answers

Er, ~/.ssh, or specifically in your case /f/.ssh?

If you're on Windows, look at F:\.ssh

like image 175
orip Avatar answered Oct 12 '22 23:10

orip


For me this file existed in c:/Users/Lee/.ssh

Lee

like image 29
Lee Woodman Avatar answered Oct 12 '22 22:10

Lee Woodman