sshutil

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsImplicitSSHTransport added in v0.9.0

func IsImplicitSSHTransport(s string) bool

func SSHKeyScan

func SSHKeyScan(server string) (string, error)

SSHKeyScan scans a ssh server for the hostkey; server should be in the form hostname, or hostname:port

Types

type SCPStyleURL added in v0.13.0

type SCPStyleURL struct {
	User *url.Userinfo
	Host string

	Path     string
	Fragment string
}

func ParseSCPStyleURL added in v0.13.0

func ParseSCPStyleURL(raw string) (*SCPStyleURL, error)

func (*SCPStyleURL) String added in v0.13.0

func (url *SCPStyleURL) String() string

Jump to

Keyboard shortcuts

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