Enable or disable SSH File Transfer Protocol (SFTP) support in Azure Blob Storage
This article shows you how to enable or disable support for SFTP so that you can securely connect to the Blob Storage endpoint of your Azure Storage account by using an SFTP client.
To learn more about SFTP support for Azure Blob Storage, see SSH File Transfer Protocol (SFTP) in Azure Blob Storage.
A standard general-purpose v2 or premium block blob storage account. You can also enable SFTP as you create the account. For more information on these types of storage accounts, see Storage account overview.
The hierarchical namespace feature of the account must be enabled. To enable the hierarchical namespace feature, see Upgrade Azure Blob Storage with Azure Data Lake Storage capabilities.
This section shows you how to enable SFTP support for an existing storage account. To view an Azure Resource Manager template that enables SFTP support as part of creating the account, see Create an Azure Storage Account and Blob Container accessible using SFTP protocol on Azure. To view the Local User REST APIs and .NET references, see Local Users and LocalUser Class.
In the Azure portal, navigate to your storage account.
Under Settings, select SFTP.
Note
This option appears only if the hierarchical namespace feature of the account has been enabled. To enable the hierarchical namespace feature, see Upgrade Azure Blob Storage with Azure Data Lake Storage capabilities.
Select Enable SFTP.
Note
If no local users appear in the SFTP configuration page, you'll need to add at least one of them. To add local users, see the next section.
This section shows you how to disable SFTP support for an existing storage account. Because SFTP support incurs an hourly cost, consider disabling SFTP support when clients aren't actively using SFTP to transfer data.
In the Azure portal, navigate to your storage account.
Under Settings, select SFTP.
Select Disable SFTP.
- Configure access permissions for SFTP clients. See Authorize access to SFTP clients.
- Connect to Azure Blob Storage by using an SFTP client. See Connect from an SFTP client.
- SSH File Transfer Protocol (SFTP) in Azure Blob Storage
- Enable or disable SSH File Transfer Protocol (SFTP) support in Azure Blob Storage
- Limitations and known issues with SSH File Transfer Protocol (SFTP) support for Azure Blob Storage
- Host keys for SSH File Transfer Protocol (SFTP) support for Azure Blob Storage
- SSH File Transfer Protocol (SFTP) performance considerations in Azure Blob storage