Manfred Touron
☰
βœ•

Golang πŸ™

8 pages about "Golang πŸ™"

`assh` - Advanced SSH Config πŸ€“

assh, formerly known as β€œAdvanced SSH config”, is a smart tool that was designed to wrap tightly around your SSH and enhance it, like a superhero suit that has various gadgets installed. It adds regex, aliases, gateways, dynamic hostnames, graphviz, notifications, json output and yaml configuration.

Some of its configuration features are:

  • regex support
  • aliases -> gate.domain.tld
  • includes: split configuration in multiple files
  • gateways -> transparent ssh connection chaining
  • inheritance: make hosts inherits from host hosts or templates
  • variable expansion: resolve variables from the environment
  • desktop notifications: based on events
  • Graphviz representation of the hosts

assh manages your ~/.ssh/config file, taking care of keeping its backup.

lib-ssh wraps assh as a ProxyCommand, which means that it works seamlessly with ssh, scp, rsync, git, and Desktop applications depending on lib-ssh or ssh (i.e., Tower, Atom.io, SSH Tunnel Manager).

A few usage examples:

  • assh config build: Rewrites and replaces the existing ~/.ssh/config file.
  • assh config graphviz: Generate a graphviz graph of the hosts
  • assh sockets list: List active control sockets.
  • assh sockets master: Create a master control sockets.
  • assh ping: Send packets to the SSH server and display stats.

Those are some of the highlights of assh. Visit its GitHub page to find out more about its configuration, usage and integration.

Dockerself - runtime self-dockerizer

Presentation

dockerself is a program that creates a new Docker container, injects itself, and finally runs itself from within Docker.

For the record, I was working on pathwar (a security learning platform) and was trying to design the less-constraining way of creating new levels.

My current best idea is to inject a custom entrypoint when the platform starts a new container, instead of requiring the level developers to adapt their Dockerfile.

Additionally, to the simplicity that is added for a level developer, this pattern also has the advantage of always putting the latest version of the entrypoint, even if the image was not updated for a very long time.

Additional resources