# melbahja/goph

🤘 The native golang ssh client to execute your commands over ssh connection. 🚀🚀

Repository: https://github.com/melbahja/goph
Canonical: https://ross.abutalabs.com/products/goph
Homepage: http://git.io/bfpiw
Language: Go
License: MIT
License Family: permissive
Topics: golang, go, ssh, ssh-client, ssh-keys, remote-execution, golang-module, ssh-agent, goph, sftp, uploader, downloader, hacktoberfest, unix-systems
Last push: 2026-07-19T20:38:31+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 93, longevity 100
- inputs: {"age_days": 2367, "days_push": 45, "days_rel": 49, "gap_med": 0, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2024, forks 141 (observed 2026-08-28T04:06:06.638272+00:00)

## What it is
Goph is a lightweight, native Go SSH client library for executing commands over SSH connections with a simple API. It supports multiple authentication methods, SFTP file transfers, SOCKS5 proxies, and proxy jumps.

## Use cases
- run commands on remote servers over ssh from go
- upload and download files via sftp in golang
- connect to servers with ssh private keys or passwords
- execute remote commands through a jump host or socks5 proxy
- manage remote file operations like chmod via sftp
- cancel long-running remote commands with context

## When to choose
- you need a simple, lightweight Go library for SSH automation
- you want built-in known_hosts verification and multiple auth methods
- you need SFTP file transfers alongside command execution in one library

## When to avoid
- you need an interactive SSH terminal session
- you are not working in Go
- you need advanced SSH features like port forwarding or tunneling not listed in its features

## Facets
- artifact type: library
- maturity: active
- function: ssh, http-client, file-upload
- domain: developer-tools, networking
- platform: go, windows, cross-platform
- tags: ssh-client, sftp, remote-execution, known-hosts, proxy-jump, socks5-proxy, automation, devops, linux, macos

## Member repositories
- melbahja/goph (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:06.638272+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:59:49.490178+00:00, confidence not recorded.
  - readme: https://github.com/melbahja/goph (fetched 2026-08-28T04:06:06.638272+00:00, sha 33c3ffa9ee05)
  - homepage: http://git.io/bfpiw (fetched 2026-08-29T10:39:56.907919+00:00, sha 94bfed44adce)
- Data as of 2026-08-30T08:39:29.467469+00:00.
