
To learn more about using SSH keys with Azure VMs, see Use SSH keys to connect to Linux VMs. First, open a terminal or iTerm window as we will be using it for most of the following operations. Use the az sshkey show command to show the values of a public SSH key: az sshkey show -name "mySSHKey" -resource-group "myResourceGroup" Here’s how to set up ssh public/private key authentication so you don’t have to use the password on future logins, or so you can use Public Key authentication with MacFusion. Use the az sshkey list command to list all public SSH keys, optionally specifying a resource group: az sshkey list -resource-group "myResourceGroup" Use the az sshkey create command to upload an SSH public key by specifying its file: az sshkey create -name "mySSHKey" -public-key -resource-group "myResourceGroup" Move the app that gets downloaded to your Applications folder Restart your computer. Check the option to install the 'compatibility layer' Download MacFusion. Here are the steps for an installation: Download and install FUSE for OS X. You can upload a public SSH key to store in Azure. Connecting to TACC Like a Hard Drive: MacFuse/MacFusion. On your local computer, open a Bash prompt: ssh -identity_file example, enter: ssh -i /home/user/.ssh/mySSHKey Upload an SSH key The resulting output lists the new key files' paths: Private key is saved to "/home/user/.ssh/7777777777_9999999". Some examples of free programs for Mac are: Cyberduck. If you can't get OSXFuse/MacFusion to work, you can still copy files back and forth between your computer and TACC using a secure FTP (SFTP) client. Copying Files To and From TACC: SFTP Clients. Generate new keysĪfter you sign in, use the az sshkey create command to create the new SSH key: az sshkey create -name "mySSHKey" -resource-group "myResourceGroup" You can also click on the mounted volume within MacFusion and choose 'Reveal' from the gear menu.

If you have existing SSH keys, you can upload and store them in Azure for reuse.įor a more detailed overview of SSH, see Detailed steps: Create and manage SSH keys for authentication to a Linux VM in Azure.įor more detailed information about creating and using SSH keys with Linux VMs, see Use SSH keys to connect to Linux VMs. Each newly created SSH key is also stored locally.

You can create SSH keys before creating a VM, and store them in Azure. Applies to: ✔️ Linux VMs ✔️ Windows VMs ✔️ Flexible scale sets ✔️ Uniform scale sets
