scp

package
v0.0.0-...-2e2be57 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePrivateKey

func ParsePrivateKey(path string) (ssh.AuthMethod, error)

ParsePrivateKey is

func SSHAgent

func SSHAgent() (ssh.AuthMethod, error)

SSHAgent is used to generate the SSH agent authentication method from the local host

func UploadDirectory

func UploadDirectory(stdin io.WriteCloser, path string, preserveTimes bool) error

UploadDirectory is used to transfer a directory from the local system to a remote system over an open SSH connection

func UploadFile

func UploadFile(stdin io.WriteCloser, path string, preserveTimes bool) error

UploadFile is used to transfer a file from the local system to a remote system over an open SSH connection

Types

This section is empty.

Jump to

Keyboard shortcuts

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