SFTP with key files

I am having a working SFTP, auth via key file instead of username/password, how can i configure the credential in n8n? the closest i found is SSH

But i am puzzled how to fill those fields and there are limited guide in doc.

  • How to fill up the fields as there are quite diff from my key file
  • If i hv to host the file in specific directory, how would it work in cloud ver?

Information on your n8n setup

  • n8n version: 1.25.1
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker, localhost
  • Operating system: Win11 Pro

Hey @weilies_chok,

If you add an FTP node and add the credentials and select SFTP you should see the same options, where we have the Private Key field that should be the contents of your OpenSSH formatted private key.

As you are using a Putty format key you may need to convert it to a standard OpenSSH format first.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.