ssh

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InteractiveHostKeyCallback

func InteractiveHostKeyCallback(knownHostsFilePath string) (ssh.HostKeyCallback, error)

InteractiveHostKeyCallback verifying the host key against known_hosts and adding the key if the user replies accordingly.

func NewCommand

func NewCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

Types

type SSH

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

func (*SSH) Run

func (o *SSH) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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