Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShellEscape ¶
ShellEscape quotes a string for safe transmission over SSH wire protocol.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps a charmbracelet/ssh server with public key authentication.
func NewServer ¶
NewServer creates a new SSH server that authenticates using the given authorized key and presents the given host key.
Click to show internal directories.
Click to hide internal directories.