ssh

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const HostConfigTemplate = `` /* 249-byte string literal not displayed */

Variables

This section is empty.

Functions

func AddSSHConfig

func AddSSHConfig(usr *user.User, ipAddress string) error

func AttachToTmuxSession

func AttachToTmuxSession() error

func DeleteSSHConfig

func DeleteSSHConfig(usr *user.User, filename string) error

func EnsureSSHIncludeConfig

func EnsureSSHIncludeConfig(usr *user.User) error

func GetOrCreateSSHKeyPair

func GetOrCreateSSHKeyPair(usr *user.User) (string, error)

func StreamLogs

func StreamLogs() error

func WaitForSSHConnection

func WaitForSSHConnection(sshConfigPath string) error

Types

type HostConfig

type HostConfig struct {
	Host         string
	IPAddress    string
	IdentityFile string
}

Jump to

Keyboard shortcuts

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