diff --git a/README.md b/README.md index a8c07f7233679e9882f9fe563d4b7f7e8bad76b2..c8cbda94051fc3e28a8a9deff6004f888aeefe0d 100644 --- a/README.md +++ b/README.md @@ -13,15 +13,16 @@ A [single-dependency][gomod] utility package that provides a [`net/http`][net-ht ## Why sshutil? The `sshutil` package depends solely on the Go [`x/crypto`][crypto] module. -The [`x/crypto/ssh`][crypto-ssh] package provides convenient support for both the [ssh wire protocol][rfc4253] and the [ssh authentication protocol][rfc4252]. -The authentication protocol API is, however, scoped to single connections—whereas servers generally accept many connections. -A small, but tedious, amount of work is required to implement a full connection-tracking server for production-like settings. +The [`x/crypto/ssh`][crypto-ssh] package provides convenient support for the [ssh wire protocol][rfc4253], the [ssh authentication protocol][rfc4252], and the [ssh connection protocol][rfc4254]. +SSH, and thus the `x/crypto` implementation, is natually scoped to a single connection—whereas servers generally need to accept many connections. +A small, but tedious, amount of work is required to implement a full connection-tracking server for use in applications. `sshutil` fills in the gap. [crypto]: https://pkg.go.dev/golang.org/x/crypto [crypto-ssh]: https://pkg.go.dev/golang.org/x/crypto/ssh [rfc4252]: https://tools.ietf.org/html/rfc4252 [rfc4253]: https://tools.ietf.org/html/rfc4253 +[rfc4254]: https://tools.ietf.org/html/rfc4254 ## Get diff --git a/doc.go b/doc.go index 31258f517964b1a00a7e4289aa67d9bf45de8f14..c3e4e17be8ccfba5677bd9b9a217f36aa458fe15 100644 --- a/doc.go +++ b/doc.go @@ -1,6 +1,6 @@ /* Package sshutil provides utilities for working with the ssh protocol at the -application layer. SSH is specified by: https://tools.ietf.org/html/rfc4252. +application layer. SSH is specified by: https://tools.ietf.org/html/rfc4251. The ssh server API functions similar to 'net/http'. Register handlers for various parts of the protocol and process each session as new client