Skip to main content

Module ssh

Module ssh 

Source
Expand description

SSH key detection for git operations.

Note: SSH keys authenticate git clone/fetch/pull operations, NOT GitHub API calls. This module detects if SSH keys are configured so we can provide better error messages and suggest SSH clone URLs.

Functionsยง

get_ssh_key_files
Get SSH key files that exist.
has_github_ssh_access
Check if SSH is likely configured for GitHub.
has_ssh_agent
Check if SSH agent is running.
has_ssh_keys
Detect if SSH keys exist in the standard locations.