ssh

package
v0.1.31 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 13 Imported by: 8

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSshKeyPair

func CreateSshKeyPair() (string, string, error)

func GetHostKey added in v0.1.14

func GetHostKey(host string) (ssh.PublicKey, error)

GetHostKey checks the local user's known_hosts file If the file doesn't exist, an error is returned If the desired entry does not exist, an error including remediation steps is returned

func PublicKeyV2

func PublicKeyV2() (*goGitSsh.PublicKeys, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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