Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { User string Path string Port int Output bytes.Buffer // contains filtered or unexported fields }
func Start ¶
func Start(caPubKey sshcert.RawPublicKey) (*Server, error)
Start starts an sshd server as the current user, and returns a Server. The ssh server will be running in a temporary directory, and will process requests on a random port.
It will only process a single ssh connection before terminating.
Click to show internal directories.
Click to hide internal directories.