sshutil

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsImplicitSSHTransport

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

type SCPStyleURL struct {
	User *url.Userinfo
	Host string

	Path     string
	Fragment string
}

func ParseSCPStyleURL

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

func (*SCPStyleURL) String

func (url *SCPStyleURL) String() string

Jump to

Keyboard shortcuts

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