ssh

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommands

func ExecuteCommands(host string, port int, username, password string, commands []string, timeout int) ([]*commonprotocolfern.SshCommandExecution, error)

ExecuteCommands executes commands on the remote SSH server using valid credentials This function requires successful authentication first

func PerformAuthentication

func PerformAuthentication(target string, config *sshfern.PentestSshConfig) (*sshfern.PentestSshDetails, error)

PerformAuthentication performs authentication attempts against SSH service Returns both base server info and auth results

func PerformAuthenticationWithContext

func PerformAuthenticationWithContext(ctx context.Context, target string, config *sshfern.PentestSshConfig) (*sshfern.PentestSshDetails, error)

PerformAuthenticationWithContext performs authentication attempts against SSH service with context Returns both base server info and auth results

Types

This section is empty.

Jump to

Keyboard shortcuts

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