Unable to navigate between container when connecting via SFTP to blob storage

Sumit Gaur 255 Reputation points
2023-12-19T19:00:56.6966667+00:00

Hi, we have exposed a storage account as a SFTP server to our internal and external customer for SFTP based integration. For one user we are trying to give him access to multiple container on our storage account for which we created a local user and assign that user with needed blob container and permission. Now when we try to login via WinScp it drops us on the home directory setup during local user creation. However if we want to navigate to different container we can't do that and setting / as home directory also doesn't work. Can you give some guideline on how we can navigate between different container from a SFTP Client?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,489 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anand Prakash Yadav 7,850 Reputation points Microsoft External Staff
    2023-12-20T11:37:43.3733333+00:00

    Hello Sumit Gaur,

    Thank you for posting your query here!

    I understand you wish to know how users can access containers other than their home container.

    You can only login to a single container per session. If you wish to connect to another container create a session and specify the container name after the storage account as part of the username.

    ******@myaccount.blob.core.windows.net

     

    Here is what that will look like using WinSCP:

    User's image

    Resources:
    https://learn.microsoft.com/en-us/azure/storage/blobs/secure-file-transfer-protocol-support#home-directory

    Please let us know if you have any further queries. I’m happy to assist you further.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.