sshd

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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