sshutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSshClient

func CreateSshClient(c *sshlib.Connect, host, port, user, pass string, identityFiles []string) (err error)

A modified version of func (*sshlib.Connect) CreateClient. When checking ssh server public key, return error if encounter an dismatch or unknown host, instead of asking user to confirm from tty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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