package sshutil

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

Index

Variables

var ErrMalformedServer = fmt.Errorf("invalid server, must be of the form hostname, or hostname:port")

Functions

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

Source Files

keyscan.go

Version
v0.8.0-rc1
Published
Nov 17, 2020
Platform
js/wasm
Imports
5 packages
Last checked
2 minutes ago

Tools for package owners.