Documentation ¶ Index ¶ func NewServer(hostKeyFilePath string, authorizedUsers []AuthorizedUser, listenAddr string) (*ssh.Server, error) type AuthorizedUser Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewServer ¶ func NewServer( hostKeyFilePath string, authorizedUsers []AuthorizedUser, listenAddr string, ) (*ssh.Server, error) Types ¶ type AuthorizedUser ¶ type AuthorizedUser struct { UserName string AuthorizedKeysFilePath string } Source Files ¶ View all Source files authenticator.go pty.go server.go session_cmd_builder.go session_handler.go session_handler_openssh.go Click to show internal directories. Click to hide internal directories.