@chungmao 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). Moving files between your workstation and a Linux VM, quickly and securely, is critical for managing your Azure infrastructure.
https://learn.microsoft.com/en-us/azure/virtual-machines/linux/copy-files-to-linux-vm-using-scp
Linux scp
command is a standard tool to help transfering files or directories from local to remote server, if you are using Linux or Mac or even Windows with Git Bash. Please refer to the blogs below to know how to use it under command line mode.
- The ‘SCP’ Command in Linux – The Easiest Way to Copy Securely
- scp Linux command
- SCP Command Examples - Linux / Unix Tutorials
If you just want to use GUI tools, you can try WinSCP for Windows or FileZilla with sftp
protocol for cross-platform or these answers for the thread of Ask Ubuntu https://askubuntu.com/questions/640744/how-can-i-connect-to-a-server-via-scp-in-lubuntu-15/640837#640837.
- You can also use Azure File share in this scenario: Mount Azure files share on Linux VM and you can also mount file share to your desktop On-premises(local) machine Linux
If you still find any difficulties, please let me know I would like to work closer on this issue.
Please let us know if you have any further queries. I’m happy to assist you further.
----------
Please do not forget to and wherever the information provided helps you, this can be beneficial to other community members.
Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.