web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SFTP Connector Bad Gat...
Power Automate
Unanswered

SFTP Connector Bad Gateway

(0) ShareShare
ReportReport
Posted on by 41

I am trying to connect to a vendor's SFTP site using Power Automate, but keep getting a Bad Gateway error

I connect with no problems using winscp.

I have entered the address, username, and port as provided by the vendor.

The private key is an open SSH private key and I copied it, in full, to the connector. This seems to be fine, since if I change it at all, I get a key error.

I have tried turning fingerprint verification off as well as copying the fingerprint in a variety of formats from winscp.
How do I avoid the bad gateway?
I've seen this question on several old threads, but no answers.

Categories:
I have the same question (0)
  • Verified answer
    lizzyC Profile Picture
    41 on at

    I figured this out on my own. In the new designer, I could see more of an error message and several levels deep I found "openssh key type: ssh-rsa is not supported". And I found this SO answer.
    My key started with -----BEGIN OPENSSH PRIVATE KEY----- which is a format that is unsupported in the connector, apparently.  I used puttygen to convert it to a format that begins -----BEGIN RSA PRIVATE KEY----- and it worked great.
    To generate: I had already generated a .ppk in order to use my initial key in WinSCP. I loaded that .ppk into puttygen then clicked Conversions -> Export OpenSSH Key. This created the appropriately formatted key which I copied, in full, to the private key area of the connector.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard