Back to Nodes

SSH V2

Last updated Aug 22, 2025

2 N8N ( Node & AI Agent Tool) for SSH operations Dynamically Configurable parameters NO credentials, including command execution, file uploads, and downloads by Hadidiz, HadidizFlow

390 Weekly Downloads
9,465 Monthly Downloads

Included Nodes

SSH V2
Hadidiz-AI

Description

Banner image

https://www.npmjs.com/package/n8n-nodes-sshv2

n8n-nodes-sshv2

This package provides enhanced SSH functionality for n8n, including an AI-powered SSH tool node.

Features

1. Hadidiz-AI Node

An AI-powered SSH tool that can be used with n8n's AI Agent for:

  • Executing remote commands
  • Downloading files
  • Uploading files
  • Dynamic connection parameters
  • Support for both password and private key authentication

2. SSHv2 Node

A standard SSH node with enhanced capabilities for:

  • Command execution
  • File transfers
  • Credential management
  • Dynamic parameters

Installation

Local Installation

npm install n8n-nodes-sshv2

n8n.cloud Installation

  1. Go to Settings > Community Nodes
  2. Select "Install"
  3. Enter n8n-nodes-sshv2
  4. Click "Install"

Usage with AI Agent

To use the Hadidiz-AI node with the AI Agent, you need to:

  1. Set the following environment variables:
export N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
  1. Add the AI Agent node to your workflow
  2. Select "Tools Agent" as the agent type
  3. Add "Hadidiz-AI" from the available tools

Configuration

SSH Credentials

The package supports two types of authentication:

  • Password-based authentication
  • Private key authentication

Dynamic Parameters

Both nodes support dynamic parameters, allowing you to:

  • Use different servers in the same workflow
  • Pass credentials from previous nodes
  • Use environment variables

Development

Building the Package

# Install dependencies
pnpm install

# Build the project
pnpm build

# Run linting
pnpm lint

# Format code
pnpm format

Publishing to NPM

This package uses GitHub Actions to automatically publish to npm when version tags are pushed.

For Maintainers

  1. Set up NPM_TOKEN secret:

    • Go to repository Settings → Secrets and variables → Actions
    • Add a new secret named NPM_TOKEN
    • Value should be your npm authentication token (get from https://www.npmjs.com/settings/tokens)
  2. Release a new version:

    # Update version in package.json
    npm version patch  # or minor, major
    
    # Push the tag to trigger publishing
    git push origin --tags
    

The workflow will automatically:

  • Build and test the package
  • Verify the workflow is triggered by a version tag
  • Verify the version matches the tag
  • Publish to npmjs.com

License

MIT

Credits

By Hadidizflow.com Your AI Solutions Partner.