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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址