[ANN] goph v2 - Go SSH Client

46 views
Skip to first unread message

Mohamed Elbahja

unread,
Jul 15, 2026, 4:56:33 PM (23 hours ago) Jul 15
to golang-nuts
Goph v2 is out: https://github.com/melbahja/goph

goph is a lightweight, idiomatic SSH client library wrapping x/crypto/ssh. v2 is a rewrite focused on simplicity and zero external dependencies beyond x/crypto + x/net + sftp.

Highlights:

- Functional options API:
- Context aware command execution with cancellation
- SOCKS5 proxy with optional auth, jump hosts, and proxy+jump chaining
- Keyboard-interactive support for OTP / 2FA, separate from password auth
- Script execution from io.Reader or file with custom interpreter
- SFTP file operations, known-hosts helpers, and reusable Dialer

Also released: v1.5.2 on the v1 branch, security update bumping x/crypto for existing v1 users.

- https://github.com/melbahja/goph/releases/tag/v2.0.1
- https://github.com/melbahja/goph/releases/tag/v1.5.2

Cheers,
Melbahja

Reply all
Reply to author
Forward
0 new messages