npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-sftp-custom

v0.1.5

Published

n8n node for SFTP with custom algorithms

Readme

n8n-nodes-sftp-custom

A custom n8n community node for SFTP operations with support for legacy algorithms.

Features

  • Custom Algorithm Support - Configure host key algorithms (ssh-dss, ssh-rsa, etc.)
  • 🔄 Connect Test - Verify SFTP connection
  • ⬆️ Upload File - Upload files to SFTP server
  • ⬇️ Download File - Download files from SFTP server
  • 📋 List Files - List files and directories (with recursive option)
  • 🗑️ Delete - Delete files or directories (with recursive option)
  • ✏️ Rename/Move - Rename or move files and directories

Installation

Community Nodes (Recommended)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Click Install
  3. Enter n8n-nodes-sftp-custom
  4. Click Install

Manual Installation

npm install n8n-nodes-sftp-custom

Configuration

Credentials

Create a new SFTP Account credential with the following fields:

  • Host: SFTP server hostname or IP
  • Port: SFTP port (default: 22)
  • Username: SFTP username
  • Password: SFTP password
  • Host Key Algorithms: Comma-separated list of algorithms (e.g., ssh-dss,ssh-rsa,rsa-sha2-256,ecdsa-sha2-nistp256)

Supported Algorithms

The Host Key Algorithms field allows you to specify which algorithms to use for authentication. This is particularly useful for connecting to legacy SFTP servers that still use deprecated algorithms like ssh-dss.

Common algorithms:

  • ssh-dss (legacy, for older servers)
  • ssh-rsa
  • rsa-sha2-256
  • rsa-sha2-512
  • ecdsa-sha2-nistp256
  • ecdsa-sha2-nistp384
  • ecdsa-sha2-nistp521
  • ssh-ed25519

Default value: ssh-dss,ssh-rsa,rsa-sha2-256,ecdsa-sha2-nistp256

Operations

Connect Test

Test the SFTP connection with your configured credentials.

Upload File

Upload a file to the SFTP server.

Parameters:

  • Input Data Field Name: Name of the binary property containing the file (default: data)
  • Remote Path: Destination directory on the server (e.g., /upload/)

Usage: Connect a Read Binary File node before this operation to provide the file data.

Download File

Download a file from the SFTP server.

Parameters:

  • Remote File Path: Full path to the file on the server (e.g., /path/to/file.txt)
  • Output Property Name: Name for the binary property to store the downloaded file (default: data)

List Files

List files and directories on the SFTP server.

Parameters:

  • Remote Directory Path: Directory to list (default: /)
  • Recursive: Whether to list subdirectories recursively

Output: Returns file/directory information including name, size, modification time, and permissions.

Delete

Delete a file or directory from the SFTP server.

Parameters:

  • Path: Path of the file or directory to delete
  • Recursive: Whether to delete directory contents recursively

⚠️ Warning: Recursive deletion is permanent and cannot be undone.

Rename/Move

Rename or move a file or directory on the SFTP server.

Parameters:

  • Old Path: Current path of the file or directory
  • New Path: New path for the file or directory

Options:

  • Timeout: Connection timeout in milliseconds (default: 10000)

Example Workflows

Upload File from Local System

[Read Binary File] → [SFTP Upload]
  1. Read Binary File: Select local file
  2. SFTP Upload: Configure Remote Path

Upload via Webhook

[Webhook] → [SFTP Upload]
  1. Webhook: Set to POST with form data
  2. SFTP Upload: Use data as Input Data Field Name

Download and Process

[SFTP Download] → [Process File] → [...]
  1. SFTP Download: Specify Remote File Path
  2. File is available as binary data in subsequent nodes

Legacy Server Support

This node was specifically designed to support legacy SFTP servers that require deprecated algorithms like ssh-dss. Modern SSH implementations (OpenSSH 7.0+, OpenSSL 3.0+) have disabled these algorithms by default due to security concerns.

If you're connecting to a legacy system and encounter authentication errors, configure the Host Key Algorithms field in your credentials to include ssh-dss.

Compatibility

  • n8n version: 1.0.0+
  • Node.js: 18+

Resources

License

MIT

Author

Genevieve Lee

Support

If you encounter issues or have questions: