Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
freitas-renato committed Oct 27, 2023
1 parent 57b8d90 commit 27a4247
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# mosh-static

An unofficial static binary distribution of [mobile-shell/mosh](https://github.com/mobile-shell/mosh) which can be dropped into a remote server.
An unofficial static binary distribution of [mobile-shell/mosh](https://github.com/mobile-shell/mosh) which can be dropped into a remote server. Extends [dtinth/mosh-static](https://github.com/dtinth/mosh-static) to add support for arm64 and armv7 architectures, using QEMU when building.

Releasing is automated by GitHub Actions — [this GitHub Actions workflow](https://github.com/dtinth/mosh-static/blob/main/.github/workflows/autobuild.yml) clones `mosh`’s source code, compiles it inside an Alpine Docker image, and creates [a GitHub release with the binary](https://github.com/dtinth/mosh-static/releases/latest).

> **Note:** Only x86-64 architecture is supported. I do not plan to support other architectures or maintain this repository. Please feel free to fork. If there is an actively maintained fork, please let me know and I will point people there.
Releasing is automated by GitHub Actions — [this GitHub Actions workflow](https://github.com/freitas-renato/mosh-static/blob/main/.github/workflows/autobuild.yml) clones `mosh`’s source code, compiles it inside an Alpine Docker image, and creates a GitHub release with the binaries.

## Using the binaries

```sh
# On the server
wget https://github.com/dtinth/mosh-static/releases/latest/download/mosh-server
chmod +x mosh-server
# On the server (ARM64)
wget https://github.com/freitas-renato/mosh-static-multiarch/releases/latest/download/mosh-server-arm64.zip
unzip mosh-server-arm64.zip
chmod +x mosh-server-arm64/mosh-server

# On the client
mosh --server=./mosh-server <username>@<hostname>
Expand Down

0 comments on commit 27a4247

Please sign in to comment.