@Mulagiripattu Rangarajan Sundar Rajan
The error "pty allocation request failed on channel 0" usually occurs when trying to establish an SSH connection with a server that doesn't support interactive sessions. Since you're using SFTP with Azure Blob Storage, you should use an SFTP client to transfer files instead of the SSH command.
- Install an SFTP client if you haven't already.
- Use the following command to connect to your Azure Blob Storage account:
sftp -i <private_key> <username>@<sftp_endpoint>
- Once connected, you can use SFTP commands like
put
,get
,ls
, andcd
to transfer files and navigate your Azure Blob Storage account.
When you add a user you have the option to use password, keypair, or both. Instructions for setting this up can be found in the Configure permissions section here.
Hope this helps! Let me know if you are still having issues or need anything else.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!