sshconfig

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrModifySSHConfig

func CreateOrModifySSHConfig(targetHost string, targetSlug string, directives []SSHConfigDirective) error

func CreateSSHConfig

func CreateSSHConfig(targetHost string, targetSlug string) error

Types

type SSHConfigDirective

type SSHConfigDirective struct {
	Key   string
	Value string
}

func NewDirective

func NewDirective(key, value string) SSHConfigDirective

func NewDirectiveIdentityFile

func NewDirectiveIdentityFile(path string) SSHConfigDirective

func (SSHConfigDirective) String

func (d SSHConfigDirective) String() string

Jump to

Keyboard shortcuts

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