SSH (password-based auth)

Use the Secure Shell protocol to execute commands on a remote server using a username and password

Go to site
Explore
/
Apps
/
SSH (password-based auth)

SSH (password-based auth) API Integrations

Build and run workflows using the SSH (password-based auth) API. Use 1000s of source-available triggers and actions across 1400+ apps. Or write custom code to integrate any app or API in seconds.

Overview

The SSH (Secure Shell) API provides users with a secure and reliable way to connect to a remote server. This can be used to connect to remote systems and transfer data and files, as well as manage and configure remote systems. With the SSH API, you can authenticate with a password-based authentication.

This is a powerful tool for managing remote systems and networks, providing a secure and efficient way to access and manage resources. You can use the SSH API to build the following applications and services:

  • Remote Tunneling/Port Forwarding - Create secure tunnels over a network, allowing traffic to pass through a secure port.
  • File Transfers - Move files securely to and from remote systems.
  • System/Network Management - Manage and configure remote hosts, networks, and systems.
  • Remote System Backup/Restore - Create secure backups of systems and networks, and restore them in case of an emergency.
  • Scripting/Automation - Automate administrative and maintenance tasks.
  • Secure Shell Hosting - Create and host secure shell servers, allowing users to connect securely to remote systems and networks.
  • Secure Network Tunneling - Create secure tunnels over an existing network, allowing encrypted traffic to pass through.
  • Secure Chat - Create secure chat servers, allowing users to communicate securely through an encrypted channel.
  • Secure File Storage - Create secure file storage solutions, allowing users to store their data securely behind encryption.
  • Secure VPN - Create secure Virtual Private Network (VPN) systems, allowing users to remotely connect securely to remote networks.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module.exports = defineComponent({
  props: {
    ssh_password_based_auth: {
      type: "app",
      app: "ssh_password_based_auth",
    }
  },
  async run({steps, $}) {
    const SSH2Promise = require('ssh2-promise')
    
    const { 
      host, 
      port,
      username, 
      password,
    } = this.ssh_password_based_auth.$auth
    
    const ssh = new SSH2Promise({
      host,
      port,
      username,
      password,
    })
    
    await ssh.connect()
    console.log("Connection established")
    
    // Replace this with the command you'd like to run
    const resp = await ssh.exec("whoami")
    console.log(resp)
    
    await ssh.close()
  },
})

Choose an API to Connect with SSH (password-based auth) API

1
-
12
of
1400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.

Authentication

SSH (password-based auth) uses API keys for authentication. When you connect your SSH (password-based auth) account, Pipedream securely stores the keys so you can easily authenticate to SSH (password-based auth) APIs in both code and no-code steps.

This app holds details for a specific host or server where you want to run commands using the SSH protocol.

Below, enter the hostname and port of the server you'd like to connect to, your username, and the private key you'd like to use to connect.

This app only supports key pair authentication, not authentication via password. If you need to use a username / password to connect to a host, please use the SSH (key-based auth) app, instead.