sshynergy

command module
v0.0.0-...-6eebfd6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 22 Imported by: 0

README

sshynergy

Run Synergy over SSH without setting up config files.

Status

It works, kinda. Finished my initial goals, but the code is horrible (see: Goals).

Quirks

Default setup is to use the current host and a host called _.

  • Set it up via ~/.ssh/config (this shells out to ssh to parse it)
  • Should point to your current machine's "default" neighbor.

Initial Goals

  • Restart synergyc processes when screen sizes change (why I wrote this)
  • Generate synergy.conf given a list of hosts
  • Use ssh-agent
  • Parse ~/.ssh/config to allow using shortnames
  • Respawn sessions if connections die
  • Respawn sessions when user chooses (hit <Ctrl-L>)

Goals

  • Make it go get-able
  • Better code (basically hacked together over a couple evenings)
    • Clearly I don't understand or am misusing channels
    • Better handling of restarting/orphaning processes (probably related)
  • Move OpenSSH config parsing (by invoking ssh -G) to a library

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL