ssh

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: Apache-2.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSshAgentPostStartEvent

func AddSshAgentPostStartEvent(spec *v1alpha2.DevWorkspaceTemplateSpec) error

AddSshAgentPostStartEvent Start ssh-agent and add the default ssh key to it, if the ssh key has a passphrase. Initialise the ssh-agent session env variables in the user .bashrc file.

func NeedsSSHPostStartEvent added in v0.31.2

func NeedsSSHPostStartEvent(api sync.ClusterAPI, namespace string) (bool, error)

Determines whether an SSH key with a passphrase is provided for the namespace where the workspace exists. If an SSH key with a passphrase is used, then the SSH Agent Post Start event is needed for it to automatically be used by the workspace's SSH agent. If no SSH key is provided, or the SSH key does not provide a passphrase, then the SSH Agent Post Start event is not required.

Types

This section is empty.

Jump to

Keyboard shortcuts

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