Reputation:
I'm new to Azure, sorry if my question sounds dumb.
I use ssh-keygen
to create public/private key pair in cloud shell, but where is my local location this private key get saved to? I wasn't prompted to provide a local path for storing this private key, so is the private ket get stored in Azure?
Upvotes: 3
Views: 13694
Reputation: 28264
When you use ssh-keygen
, by default, the key pair was saved to the directory /home/user/.ssh
on the Cloud Shell. You can download the files to your local machine via clicking Upload/Download files
or persist files in Azure Cloud Shell.
For more information, read Overview of Azure Cloud Shell.
Upvotes: 1