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 / Details: BadGateway Er...
Power Automate
Unanswered

Details: BadGateway Error in SFTP - SSH Connector

(0) ShareShare
ReportReport
Posted on by

I'm trying to migrate a Power Automate app to a new Ubuntu 22.04 VM (in an azure tenancy), but I can't establish a  SFTP - SSH connection to the new VM.  

 

I can SSH to the VM using the username and the .pem private key credentials from the same PC (bash on WSL2).  I've opened port 22 temporarily but still I can't get the SFTP connection work. 

 

Feels like I'm missing something obvious?  Any help appreciated!

 

 

benzo_0-1673400239872.png

 

Categories:
I have the same question (0)
  • BA-23070704-0 Profile Picture
    on at

    Using https://blog.neilsabol.site/post/microsoft-ms-flow-sftp-connector-tips-tricks-errors/ i have the following error (with the key details deleted).  So perhaps some sort of permissioning error?

     

    1. error: {message: "Permission denied (publickey)."}
      1. message: "Permission denied (publickey)."
    2. message: "Permission denied (publickey).\r\nclientRequestId: <key deleted>
  • _copperRaven Profile Picture
    3 on at

    I have this same issue

    {message: "Permission denied (publickey)."}

     

    I'm running an on-prem server that has OpenSSH. winSCP works fine. i've tried several different iterations of .pem files and putty files with and without passphrase works everytime with winSCP but never in SFTP-SSH.

  • DanJ Profile Picture
    8 on at

    I'm having the Permission denied (publickey) error too with BadGateway. With mine though I have 4 flows all using the same SFTP-SSH connector, only one is failing this way. They're all doing the same thing in the same folder, just with different files.

    I can't think why that would happen.

    I have a feeling that if I recreated the flow exactly it would work...

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard