Documentation ¶
Index ¶
- func JumpHandler(sshPriv ssh.Signer) internal.ChannelHandler
- func LocalForward(_ *internal.User, newChannel ssh.NewChannel, l logger.Logger)
- func Session(user *internal.User, newChannel ssh.NewChannel, log logger.Logger)
- func StartRemoteForward(user *internal.User, r *ssh.Request, sshConn ssh.Conn)
- func StopRemoteForward(rf internal.RemoteForwardRequest) error
- type ReaderWriteCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JumpHandler ¶
func JumpHandler(sshPriv ssh.Signer) internal.ChannelHandler
func LocalForward ¶
func Session ¶
Session has a lot of 'function' in ssh. It can be used for shell, exec, subsystem, pty-req and more. However these calls are done through requests, rather than opening a new channel This callback just sorts out what the client wants to be doing
func StartRemoteForward ¶
func StopRemoteForward ¶
func StopRemoteForward(rf internal.RemoteForwardRequest) error
Types ¶
type ReaderWriteCloser ¶
type ReaderWriteCloser struct {
// contains filtered or unexported fields
}
func (*ReaderWriteCloser) Close ¶
func (c *ReaderWriteCloser) Close() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.