Showing results for 
Search instead for 
Did you mean: 
Not applicable


Has anyone had any luck connecting to FTP or SFTP where a key file is used instead of a password? Is this even possible?

Community Support
Community Support

Hi @Anonymous,


Currently I don't think this is available.

Please consider to submit an idea on this, to allow FTP connection have more authentication supported.

Microsoft Flow idea:


Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
New Member

I've had a number of fails so far using SFTP with a SSH key


Locally the `sftp` command runs fine and I can ssh into box etc. but Flow keeps on complaining about an "Invalid SSH private key provided."


Even switching to RSA and reducing the keyfile size down to 2048 didn't work and I had to disable host key checking (despite copying it across) to even get that far.


I think it's bugged



EDIT: To confirm this worked fine when I changed `PasswordAuthentication` from `no` to `yes` and allowed the user to use a clear text password (as opposed to forcing keyfiles) in the `sshd_config`. Definitely a Flow bug.

Not applicable

Has anyone succeeded in connecting

Minhas tentativas sempre retornam erro na chave SSH.

Helpful resources

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (69,304)