sshd

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDirectForwardConn

func NewDirectForwardConn(conn ssh.Conn, channel ssh.Channel, dstAddr string) net.Conn

func NewRemoteForwardConn

func NewRemoteForwardConn(ctx context.Context, conn ssh.Conn, req *ssh.Request) net.Conn

Types

type DirectForwardConn

type DirectForwardConn struct {
	// contains filtered or unexported fields
}

func (*DirectForwardConn) Close

func (c *DirectForwardConn) Close() error

func (*DirectForwardConn) DstAddr

func (c *DirectForwardConn) DstAddr() string

func (*DirectForwardConn) LocalAddr

func (c *DirectForwardConn) LocalAddr() net.Addr

func (*DirectForwardConn) Read

func (c *DirectForwardConn) Read(b []byte) (n int, err error)

func (*DirectForwardConn) RemoteAddr

func (c *DirectForwardConn) RemoteAddr() net.Addr

func (*DirectForwardConn) SetDeadline

func (c *DirectForwardConn) SetDeadline(t time.Time) error

func (*DirectForwardConn) SetReadDeadline

func (c *DirectForwardConn) SetReadDeadline(t time.Time) error

func (*DirectForwardConn) SetWriteDeadline

func (c *DirectForwardConn) SetWriteDeadline(t time.Time) error

func (*DirectForwardConn) Write

func (c *DirectForwardConn) Write(b []byte) (n int, err error)

type RemoteForwardConn

type RemoteForwardConn struct {
	// contains filtered or unexported fields
}

func (*RemoteForwardConn) Close

func (c *RemoteForwardConn) Close() error

func (*RemoteForwardConn) Conn

func (c *RemoteForwardConn) Conn() ssh.Conn

func (*RemoteForwardConn) Done

func (c *RemoteForwardConn) Done() <-chan struct{}

func (*RemoteForwardConn) LocalAddr

func (c *RemoteForwardConn) LocalAddr() net.Addr

func (*RemoteForwardConn) Read

func (c *RemoteForwardConn) Read(b []byte) (n int, err error)

func (*RemoteForwardConn) RemoteAddr

func (c *RemoteForwardConn) RemoteAddr() net.Addr

func (*RemoteForwardConn) Request

func (c *RemoteForwardConn) Request() *ssh.Request

func (*RemoteForwardConn) SetDeadline

func (c *RemoteForwardConn) SetDeadline(t time.Time) error

func (*RemoteForwardConn) SetReadDeadline

func (c *RemoteForwardConn) SetReadDeadline(t time.Time) error

func (*RemoteForwardConn) SetWriteDeadline

func (c *RemoteForwardConn) SetWriteDeadline(t time.Time) error

func (*RemoteForwardConn) Write

func (c *RemoteForwardConn) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL