package
Version:
v0.13.0
Opens a new window with list of versions in this module.
Published: Jan 21, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetOpenSSHVersion() string
getOpenSSHVersion attempts to get OpenSSH version using multiple fallback methods
OSType represents the operating system type
const (
OSTypeGeneric OSType = "generic"
OSTypeRHEL OSType = "rhel"
OSTypeDebian OSType = "debian"
OSTypeArch OSType = "arch"
OSTypeSUSE OSType = "suse"
)
Operating system constants
DetectOS determines the type of operating system.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.