sshd

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HetznerRulesWithSources

func HetznerRulesWithSources(sources []string) []*firewall.RuleConfig

Types

type Params

type Params struct {
	AcceptEnv              string
	PasswordAuthentication bool
	AllowTcpForwarding     bool //nolint:revive,stylecheck // For align with sshd naming
}

func (*Params) String

func (p *Params) String() string

type Provisioned

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

func (*Provisioned) Resources

func (p *Provisioned) Resources() []pulumi.Resource

func (*Provisioned) Value

func (p *Provisioned) Value() interface{}

type SSHD

type SSHD struct {
	ID string
	OS info.OSInfo

	Config *Params
	// contains filtered or unexported fields
}

func New

func New(id string, os info.OSInfo, config *Params) *SSHD

func (*SSHD) Order

func (s *SSHD) Order() int

func (*SSHD) SetOrder

func (s *SSHD) SetOrder(order int)

func (*SSHD) Up

func (s *SSHD) Up(ctx *program.Context, con *connection.Connection, deps []pulumi.Resource, _ []interface{}) (modules.Output, error)

Up configures sshd. It deletes default sshd config file and creates new one with config provided in Config.

Jump to

Keyboard shortcuts

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