when i try to create a connection to an sftp server i get an error. the message is this : " Please check your account info and/or permissions and try again. Details: Permission denied ......" , is there any way to see the error log? thank you very much

Di Martino, Raffaele 0 Reputation points
2023-11-09T15:49:34.1433333+00:00

when i try to create a connection to an sftp server i get an error. the message is this : " Please check your account info and/or permissions and try again. Details: Permission denied ......" , is there any way to see the error log? thank you very much

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,258 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,741 Reputation points
    2023-11-13T09:59:41.25+00:00

    @Di Martino, Raffaele Thanks for reaching out. Can you please validate this for Authentication and permissions as this could be reason you are getting the permission denied error. You cannot see more details from the run history error logs. But you can check the logs at your SFTP server end to get more details why it through Permission denied error.

    When you create a connection to your SFTP server, you have to provide your SFTP server address, account credentials, an SSH private key, and the SSH private key password. If your platform supports uploading large files using chunking, you also need both read and write access for the root folder on your SFTP server. The SFTP-SSH connector supports both private key authentication and password authentication. However, the SFTP-SSH connector supports only the following private key formats, key exchange algorithms, encryption algorithms, and fingerprints:

    • Private key formats: RSA (Rivest Shamir Adleman) and DSA (Digital Signature Algorithm) keys in both OpenSSH and ssh.com formats. If your private key is in PuTTY (.ppk) file format, first convert the key to the OpenSSH (.pem) file format.
    • Key exchange algorithms: Review Key Exchange Method - SSH.NET.
    • Encryption algorithms: Review Encryption Method - SSH.NET.
    • Fingerprint: MD5. For more information, see Find the MD5 fingerprint. When you provide your SSH private key for your connection, don't manually enter or edit the key, which might cause the connection to fail. Instead, make sure that you copy the key from your SSH private key file, and paste that key into the connection information box. To correctly copy and paste your SSH private key, follow these steps. Open your SSH private key file in any text editor. These steps continue using Notepad as an example. In Notepad, from the Edit menu, select Select all. (Press Ctrl + A) From the Edit menu, select Copy. In the SFTP-SSH connection information box, paste the complete copied key into the SSH private key property, which supports multiple lines. Don't manually enter or edit the key. After you finish entering the connection details, select Create.
    0 comments No comments

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.