package sshutil

import "github.com/moby/buildkit/util/sshutil"

Index

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

Source Files

keyscan.go scpurl.go

Version
v0.19.0-rc2
Published
Jan 15, 2025
Platform
js/wasm
Imports
8 packages
Last checked
31 seconds ago

Tools for package owners.