Description
assh is a transparent wrapper that adds features to SSH without changing how you use it. It works as a ProxyCommand, so ssh, scp, rsync and git work with it, as do desktop applications built on lib-ssh or ssh. Its configuration features include regular expression host matching, aliases such as gate pointing at gate.domain.tld, and gateways that chain SSH connections transparently, in the way OpenSSH's ProxyCommand with netcat does but with a simpler syntax. It also supports includes that split configuration across files, local command execution, which the README describes as the reverse of RemoteCommand, and templates that hosts can inherit from without connecting to them directly. Variables can be expanded from the environment. For connections, assh can use a raw TCP connection when possible, with netcat and socat as fallbacks, and it can apply per-host or global rate limits. Its gateway configuration can try a direct address first and fall back to a route through a gateway when the direct address is not reachable, which the README notes works best where the direct route is available. Output can be JSON or a Graphviz diagram of your hosts. The tool regenerates the ~/.ssh/config file when needed. The project is on GitHub under moul/assh.…
Highlights
- Regex, aliases and dynamic hostnames for SSH
- Gateway chaining with a simpler syntax than ProxyCommand
- Templates and inheritance between hosts
- Smart ProxyCommand with netcat and socat fallbacks
- JSON output and Graphviz host diagrams
Ratings & Reviews
No ratings yet
Be the first to rate Assh.
People also visit
Assh FAQ
What is assh?
A transparent wrapper that adds regex, aliases, gateways, templates and other features to SSH.
Is it free?
The project is public on GitHub. The README does not state a price.
Which tools does it work with?
ssh, scp, rsync and git, plus desktop applications built on lib-ssh or ssh.
How do gateways work?
You can connect to a host through one or more gateways, and the README describes an equivalent of OpenSSH's ProxyCommand with netcat, with a simpler syntax.
What happens if a direct address is unreachable?
The README describes trying the direct address first and falling back to a gateway route when it fails.
Can I see my hosts as a graph?
Yes. assh can output a Graphviz representation of your hosts, and it can also output JSON.
Does it change my SSH config?
It regenerates the ~/.ssh/config file when needed.
What are the best Assh alternatives?
Popular alternatives to Assh include Webssh and Exscript. See all Assh alternatives
