Documentation ¶
Index ¶
- func ExecCmd(ctx context.Context, channel gossh.Channel, command string, ptyTerm string, ...) int
- func GetShell(user *user.User) (string, error)
- func NewServer(logger *zap.Logger, ca string, opts ...Option) (*ssh.Server, error)
- func StartChildProcess(ctx context.Context, s io.ReadWriteCloser, process, username string) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartChildProcess ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.