Documentation
¶
Overview ¶
Package sshtest runs an in-process SSH server for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v1.4.0
type Option func(*config)
Option adjusts the server before it starts listening.
func WithAuthorizedKeys ¶ added in v1.4.0
WithAuthorizedKeys restricts public-key auth to these keys. Without it the server accepts any key.
Click to show internal directories.
Click to hide internal directories.