![]() Using a properly configured ~/.ssh/config and SSH public and private keys, the SCP connection can be established by just using a server name (or IP address). Once SSH has authenticated the connection, SCP then begins copying the file. ![]() However, SSH public and private key authentication are recommended as a security best practice. ![]() For SSH authentication, usernames and passwords can be used. SSH handles the authentication on the destination host, and it moves the file in an encrypted tunnel provided by default with SSH. Quick commandsĬopy a file up to the Linux VM scp file a file down from the Linux VM scp targetfileĪs examples, we move an Azure configuration file up to a Linux VM and pull down a log file directory, both using SCP and SSH keys. It is built on top of SSH and included in the default Bash shell of most Linux and Mac computers and PowerShell. You also need an SCP client for your local computer. ![]() Moving files between your workstation and a Linux VM, quickly and securely, is critical for managing your Azure infrastructure.įor this article, you need a Linux VM deployed in Azure using SSH public and private key files. This article shows how to move files from your workstation up to an Azure Linux VM, or from an Azure Linux VM down to your workstation, using Secure Copy (SCP). Applies to: ✔️ Linux VMs ✔️ Flexible scale sets
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |