Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
package

GitHub Action

Setup SSH Agent

v2.0.0

Setup SSH Agent

package

Setup SSH Agent

Starts the ssh-agent with the provided SSH keys and adds github.com to the known hosts

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup SSH Agent

uses: yakuhzi/setup-ssh-agent@v2.0.0

Learn more about this action in yakuhzi/setup-ssh-agent

Choose a version

Setup SSH Agent

A GitHub Action that starts the ssh agent with the provided ssh keys and adds github.com to the known hosts.

Usage

Here is an example how to use this action:

- name: Set up ssh-agent
  uses: yakuhzi/action-ssh-agent@v2
  with:
    ssh-public-key: ${{ secrets.SSH_PUBLIC_KEY }}
    ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}