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!
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...
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.
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?