New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

executer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

executer

A CLI tool for remote execution of commands on servers using SSH, REST API, and Docker.

latest
Source
npmnpm
Version
1.0.0-beta
Version published
Maintainers
1
Created
Source

Executer

executer is a CLI tool for remote command execution on servers. It supports executing commands via SSH, REST API, and within Docker containers.

Installation

To install executer, you can run:

npm install executer

Usage

SSH Command

Execute a command on a remote server via SSH:

executer ssh <host> <username> <password> <command>

Example:

executer ssh 192.168.1.1 user password "ls -la"

REST Command

Execute a command on a remote server via REST API:

executer rest <url> <method> [data]

Example:

executer rest https://api.example.com GET
executer rest https://api.example.com POST '{"key":"value"}'

Docker Command

Execute a command within a Docker container:

executer docker <container> <command>

Example:

executer docker my-container "echo Hello, World!"

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Keywords

cli

FAQs

Package last updated on 13 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts