ansible

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHostKey

func AddHostKey(host string, remote net.Addr, pubKey ssh.PublicKey) error

func CheckKnownHosts

func CheckKnownHosts() ssh.HostKeyCallback

func CreateKnownHosts

func CreateKnownHosts()

func ExecuteRemoteCommand

func ExecuteRemoteCommand(cmd string, host string, port int)

func ParseInventory

func ParseInventory(inventory string) []string

func SSHAgent

func SSHAgent() ssh.AuthMethod

func VerifyHostKey

func VerifyHostKey(host string, remote net.Addr, pubKey ssh.PublicKey) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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