Parallel SSH utilities
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ben de Graaff 02ff3f906d Support hashed known_hosts, HKA from known_hosts 1 year ago
bin Start porting Python version to Go 1 year ago
prun Add real-time output, alloc PTY 1 year ago
pssh Add real-time output, alloc PTY 1 year ago
README.md Support hashed known_hosts, HKA from known_hosts 1 year ago
flags.go Support hashed known_hosts, HKA from known_hosts 1 year ago
inventory.go Support hashed known_hosts, HKA from known_hosts 1 year ago
known_hosts.go Support hashed known_hosts, HKA from known_hosts 1 year ago
sftp.go Add real-time output, alloc PTY 1 year ago
ssh.go Support hashed known_hosts, HKA from known_hosts 1 year ago
utils.go Support hashed known_hosts, HKA from known_hosts 1 year ago

README.md

sshutils

Parallel SSH utilities with support for Ansible-like inventory files.

  • prun: execute local scripts/binaries remotely
  • pssh: execute commands

Requirements:

  • A running ssh-agent with the proper keys loaded
  • The public key of the server is in ~/.ssh/known_hosts

TODO

  • Documentation, examples
  • Work in progress: porting Paramiko/Python version to Go
  • pscp: parallel transfer
  • ~/.ssh/config support
  • (Non-)inventory support
    • Groups
    • Assume host if name not in inventory and no glob char