Using the Go SSH client

The golang.org/x/crypto/ssh package provides an SSH client that is compatible with SSH version 2—the latest version. The client will work with the OpenSSH servers and any other server that follows the SSH specifications. It supports the traditional client features such as subprocesses, port forwarding, and tunneling.

Get Security with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.