mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-04-24 06:52:13 +00:00
Merge remote-tracking branch 'webfactory/master'
This commit is contained in:
commit
8f59108fe4
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ When using `ssh` to connect from the GitHub Action worker node to another machin
|
||||||
|
|
||||||
### Provide the SSH key as a file
|
### Provide the SSH key as a file
|
||||||
|
|
||||||
This Action is designed to pass the SSH directly into `ssh-agent`; that is, the key is available in memory on the GitHub Action worker node, but never written to disk. As a consequence, you _cannot_ pass the key as a build argument or a mounted file into Docker containers that you build or run on the worker node. You _can_, however, mount the `ssh-agent` Unix socket into a Docker container that you _run_, set up the `SSH_AUTH_SOCK` env var and then use SSH from within the container (see #11).
|
This Action is designed to pass the SSH key directly into `ssh-agent`; that is, the key is available in memory on the GitHub Action worker node, but never written to disk. As a consequence, you _cannot_ pass the key as a build argument or a mounted file into Docker containers that you build or run on the worker node. You _can_, however, mount the `ssh-agent` Unix socket into a Docker container that you _run_, set up the `SSH_AUTH_SOCK` env var and then use SSH from within the container (see #11).
|
||||||
|
|
||||||
### Run `ssh-keyscan` to add host keys for additional hosts
|
### Run `ssh-keyscan` to add host keys for additional hosts
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue