ssh

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package ssh provides the SSH transport implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransport

func NewTransport(user, host string, port uint16, prompter string) (agent.Transport, error)

NewTransport creates a new SSH transport using the specified parameters.

func SetPrompterVariables added in v0.11.2

func SetPrompterVariables(environment []string, prompter string) ([]string, error)

SetPrompterVariables sets up environment variables for prompting based on the provided prompter identifier. If an empty identifier is provided, then any potentially conflicting environment variables (that might cause alternative prompting) are removed.

Types

This section is empty.

Directories

Path Synopsis
Package internal provides internal utilities for the SSH transport.
Package internal provides internal utilities for the SSH transport.
ssh
Package ssh provides utility functions for interfacing with OpenSSH.
Package ssh provides utility functions for interfacing with OpenSSH.

Jump to

Keyboard shortcuts

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