package
0.2.2
Repository: https://github.com/tkw1536/proxyssh.git
Documentation: pkg.go.dev

# Functions

AuthorizedKeysString turns a public key into a string that can be written to an authorized_keys file.
GenerateRSATestKeyPair generates a new RSA Keypair for use within testing.
GetTestSessionProcess returns the process belonging to an ssh session.
InterceptAndLog returns a new io.Reader that logs every Read() call result.
IsProcessAlive checks if the process refered to by the argument is still alive.
NewTestListenAddress returns a new unused address that can be used to start a listener on.
NewTestServerSession connects and starts a new ssh session on the sever listening at address.
RunTestServerCommand runs a command on the ssh server listening at address, and returns its standard output and input.
SliceContainsString returns true if haystack contains needle, and false otherwise.
TCPConstantTestResponse starts accepting connections on the listener.
WriteTempFile writes content into a temporary file.

# Structs

InterceptReader wraps an io.Reader.