azure sftp not authorized to create file

mehar 21 Reputation points
2023-03-13T15:48:18.29+00:00

Hi,

I am using sftp with sshfs-win. I am not able to copy file or create file when I mount the container. I can only do it with sftp command line or filezilla. Is this a limitation in Azure?

I can create anything when I mount ubuntu sftp server .

Any idea about this issue?

Thanks,

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,529 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 42,491 Reputation points
    2023-03-13T16:00:15.9033333+00:00

    Hi,

    It seems the utility you are using is incompatible with Azure SFTP, check the supported version and clients - https://learn.microsoft.com/en-us/azure/storage/blobs/secure-file-transfer-protocol-support#supported-algorithms

    Hope this helps.

    JS

    ==

    Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.


  2. SaiKishor-MSFT 17,336 Reputation points
    2023-03-16T20:26:13.6666667+00:00

    @mehar To mount an SFTP server as a network drive on Windows, you can use a third-party tool such as WinSCP. WinSCP is a free SFTP, SCP, Amazon S3, WebDAV, and FTP client for Windows.

    You can follow these steps to mount an SFTP server as a network drive using WinSCP:

    1. Download and install WinSCP.
    2. Open WinSCP and click on the "New Site" button.
    3. Enter the hostname or IP address of the SFTP server and your login credentials.
    4. Select the SFTP protocol and click on the "Advanced" button.
    5. Go to the "Environment" tab and select the "Drive" option.
    6. Enter a drive letter for the SFTP server and click on the "OK" button.
    7. Click on the "Login" button to connect to the SFTP server.

    Once you have connected to the SFTP server, you can access it as a network drive in Windows Explorer. You can copy files to and from the SFTP server just like you would with any other network drive.

    You can find more information on how to mount an SFTP server as a network drive using WinSCP here: https://winscp.net/eng/docs/guide_windows_network_drive

    Please try the above and let me know if that helps. Thank you!


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.