package sshutil

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

Index

Functions

func IsSSHTransport

func IsSSHTransport(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

Source Files

keyscan.go transport_validation.go

Version
v0.8.2
Published
Feb 25, 2021
Platform
js/wasm
Imports
6 packages
Last checked
12 hours ago

Tools for package owners.