Documentation ¶
Index ¶
- type GenericSSHHandler
- func (h *GenericSSHHandler) DefaultCommand() []string
- func (h *GenericSSHHandler) HandleAuth(w http.ResponseWriter, r *http.Request)
- func (h *GenericSSHHandler) HandleAuthCallback(w http.ResponseWriter, r *http.Request)
- func (h *GenericSSHHandler) HandleUser(w http.ResponseWriter, r *http.Request)
- func (h *GenericSSHHandler) SSHSessionCommandHandler(session ssh.Session, cmd *exec.Cmd) error
- func (h *GenericSSHHandler) SessionHandler(session ssh.Session)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericSSHHandler ¶
type GenericSSHHandler struct { ShellUrl string // contains filtered or unexported fields }
func NewGenericSSHHandler ¶
func NewGenericSSHHandler(shellUrl string, defaultCommand []string) *GenericSSHHandler
func (*GenericSSHHandler) DefaultCommand ¶
func (h *GenericSSHHandler) DefaultCommand() []string
func (*GenericSSHHandler) HandleAuth ¶
func (h *GenericSSHHandler) HandleAuth(w http.ResponseWriter, r *http.Request)
func (*GenericSSHHandler) HandleAuthCallback ¶
func (h *GenericSSHHandler) HandleAuthCallback(w http.ResponseWriter, r *http.Request)
func (*GenericSSHHandler) HandleUser ¶
func (h *GenericSSHHandler) HandleUser(w http.ResponseWriter, r *http.Request)
func (*GenericSSHHandler) SSHSessionCommandHandler ¶
func (*GenericSSHHandler) SessionHandler ¶
func (h *GenericSSHHandler) SessionHandler(session ssh.Session)
Click to show internal directories.
Click to hide internal directories.