scorpiox-sshpass shell

Dangerous, zero-friction SSH wrapper for home lab use. Passes passwords directly to SSH without interactive prompts, designed for automated scripts and internal networks where convenience outweighs strict security.

Linux x64 Linux ARM64 macOS ARM64

⚠️ Security Warning

This tool passes passwords in plaintext. Use ONLY on trusted internal networks or home labs. Never use on production or public-facing systems. Prefer SSH keys for any serious deployment.

Flags & Options

Flag Description Takes Value
-p Read password from the next argument (pass password directly on the command line) No

Usage Examples

Basic — SSH into a home lab machine with password
# Connect to a Raspberry Pi on your local network
$ scorpiox-sshpass -p mypassword ssh pi@192.168.1.50
Run a remote command without interactive login
# Check uptime on a remote home server
$ scorpiox-sshpass -p labpass123 ssh admin@10.0.0.5 uptime
 15:42:07 up 34 days,  2:18,  0 users,  load average: 0.12, 0.08, 0.03
SCP file transfer with password
# Copy a config file to a remote machine
$ scorpiox-sshpass -p secret scp ./nginx.conf root@10.0.0.10:/etc/nginx/nginx.conf

# Pull logs from a remote server
$ scorpiox-sshpass -p secret scp root@10.0.0.10:/var/log/syslog ./remote-syslog.log
Scripted multi-host provisioning
# Deploy a script across multiple lab nodes
$ for host in 10.0.0.{"11..15"}; do
    scorpiox-sshpass -p labpass ssh root@$host 'bash -s' < setup.sh
    echo "Provisioned $host"
  done
Provisioned 10.0.0.11
Provisioned 10.0.0.12
Provisioned 10.0.0.13
Provisioned 10.0.0.14
Provisioned 10.0.0.15
Combine with scorpiox agent workflows
# Use inside a ScorpioX agent to manage home infrastructure
$ scorpiox-sshpass -p mypass ssh admin@nas.local 'df -h /data'
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       3.6T  2.1T  1.4T  61% /data

# Restart a service on a dev VM
$ scorpiox-sshpass -p devpass ssh dev@192.168.1.100 'sudo systemctl restart nginx'
SSH tunneling through password-auth hosts
# Forward local port 8080 to a remote service on port 3000
$ scorpiox-sshpass -p tunnel123 ssh -L 8080:localhost:3000 user@10.0.0.5 -N

# SOCKS proxy through a home lab gateway
$ scorpiox-sshpass -p gw_pass ssh -D 1080 user@gateway.local -N

Source & Build Info

Source File
scorpiox/scorpiox-sshpass.c
Lines of Code
397
Dependencies
libsxutil

Related Tools