This is an old revision of the document!
Connecting securely to Microsoft Azure Storage with SFTP
With WinSCP you can easily upload and manage files on your Microsoft Azure Storage account contained with SFTP protocol.
- Before Starting
- Enabling SFTP access to the storage account
- Configuring container authentication
- Further reading
Before Starting
Before starting you should have WinSCP installed.
Enabling SFTP access to the storage account
- SFTP access is supported by storage accounts with hierarchical namespaces enabled only (aka Azure Data Lake Gen2 storage accounts). Existing flat Blob service accounts need to be upgraded.
- To enable SFTP access to an existing hierarchical storage account, in storage account view, go to Settings > SFTP and click Enable SFTP.
- When creating new storage account, on Advanced page, check Enable hierarchical namespace and Enable SFTP.
Configuring container authentication
SFTP interface to Azure storage accounts supported two authentication mechanism – A legacy “local accounts” authentication and an Entra ID OpenSSH certificate authentication.
Local account
Further reading
- Guide to uploading files to SFTP/FTPS server;
- Guide to automating operations (including upload).