auth

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableUserSSH

func DisableUserSSH()

This function disables the SSH based container access to all the current users

func ParseAuthorizedKeysFile

func ParseAuthorizedKeysFile(filePath string) (map[string][]string, error)

This function takes in the path to the authorized keys file and parses it producing a map with ssh-public key as key and options corresponding to that as the value to corresponding key in the map.

func ParsePrivateKey

func ParsePrivateKey(keyFile string) (*rsa.PrivateKey, error)

This function parses ssh Private Key

Types

This section is empty.

Jump to

Keyboard shortcuts

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