Connection problems with new SFTP using SSH : BadGateway: Permission denied (password)

Linus Waerner 1 Reputation point
2023-05-12T14:26:12.65+00:00

Hi,

So - we've experienced a weird thing the last couple of weeks. Our SFTP connectors in Logic Apps starts to fail. Stuff is browsable sometimes, but usually we just get "Permission denied (password)" when we try to write.

However, it's not as easy at it seems. We get it from different servers on unrelated places. Some apps works, some doesn't. Same connection data and no whitelists needed. Works fine using other clients.

Disabled fingerprint, no key/passphrase. Just username/password.

Does anyone have any ideas?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,844 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VasimTamboli 4,410 Reputation points
    2023-05-12T17:33:19.3566667+00:00

    The "Permission denied (password)" error typically occurs when there is an issue with the authentication process during the SFTP connection. Here are a few suggestions to troubleshoot and resolve the problem:

    Verify the username and password: Double-check the credentials being used to authenticate with the SFTP server. Ensure that the username and password are correct and have not changed.

    Check for IP restrictions: Some SFTP servers may have IP-based restrictions in place. Confirm that the IP address from which you are attempting to connect is allowed to access the server.

    Confirm server configuration: Ensure that the SFTP server is properly configured to allow password-based authentication. Some servers may require key-based authentication or have additional security settings in place.

    Test with other SFTP clients: Verify if you can successfully connect to the SFTP server using other SFTP clients. This will help determine if the issue is specific to Azure Logic Apps or if it's a general connectivity problem.

    Check for network connectivity issues: Ensure that there are no network connectivity issues between your Logic Apps environment and the SFTP server. Check if there are any firewalls, proxies, or network restrictions that might be interfering with the connection.

    Enable detailed logging: Enable detailed logging in your Azure Logic Apps to capture more information about the error. This can help identify any specific error codes or messages that can provide insights into the cause of the issue.

    Contact Azure Support: If the issue persists and you have exhausted all troubleshooting steps, it's recommended to reach out to Azure Support for further assistance. They can help investigate the issue more thoroughly and provide specific guidance based on your scenario.

    By following these steps, you should be able to identify and resolve the "Permission denied (password)" error you are experiencing with your SFTP connections in Azure Logic Apps.

    0 comments No comments