Skip to content

Commit

Permalink
Document alternate installation methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stephank committed Nov 16, 2020
1 parent 006db0a commit 15c3992
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,18 @@ License: AGPL v3

## Usage

Grab a binary from the [releases page]. If you instead want to build LazySSH
yourself, you need at least Go 1.13, then just `go build`.
There are several ways to get LazySSH:

- Grab a binary from the [releases page].

- Docker images are available on Docker Hub as
[stephank/lazyssh](https://hub.docker.com/r/stephank/lazyssh).

- Nix users, whether you use flakes or not, see the documentation in
[flake.nix](./flake.nix).

- If you instead want to build LazySSH yourself, you need at least Go 1.13,
then just `go build`.

[releases page]: https://github.com/stephank/lazyssh/releases

Expand Down Expand Up @@ -73,6 +83,15 @@ Once your config is ready, you can start the server:
./lazyssh -config ./config.hcl
```

> Using Docker? You can start the container with, for example:
>
> ```sh
> docker run \
> -p 7922:7922 \
> -v /path/to/config.hcl:/config.hcl:ro \
> stephank/lazyssh
> ```
You usually need an entry for LazySSH in your `~/.ssh/config`, because the
`ssh` command otherwise doesn't make all options available for jump-hosts. Here
is a sample config:
Expand Down

0 comments on commit 15c3992

Please sign in to comment.