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

Community site session details

Session Id :
Power Automate - Using Connectors
Suggested answer

SFTP - SSH Connection

(0) ShareShare
ReportReport
Posted on by
AnHello
 
I am attempting to connect to a SFTP folder. I was able to connect using Filezilla, so I know it works
 
I have converted the putty private key to Open SSH so it starts with Begin RSA private key. Ive disabled host key validation. Still getting an error that I cant connect, and it is saying invalid private key file. 
 
For what its worth, the owner of the SFTP tells me they can see me logging in. 
 
Sent me this message: 

Hi,

From the logs it looks as though the sftp tool is attempting a connection other that SFTP.  Our servers are locked to SFTP only.

 

error: … refusing non-sftp session [postauth] → The client opened a non-SFTP session (shell/pty/exec/scp-style) which is not allowed for this user.

 

Any insight here? I am at a loss of what to do. I know the keys work, with the connection via Filezilla. They say they see me logging in and is failing post auth

 

 
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    50,271 Super User 2025 Season 2 on at
    SFTP - SSH Connection
     
     
    if you have not already. see if that helps

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • lbendlin Profile Picture
    8,302 Super User 2025 Season 2 on at
    SFTP - SSH Connection
    There have been numerous service advisories for that connector recently, multiple times per week.  Wouldn't be surprised if you are affected by them.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 721 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 545 Moderator

#3
chiaraalina Profile Picture

chiaraalina 321

Last 30 days Overall leaderboard

Featured topics