@@ -6,12 +6,13 @@ Setup an SSH socket with a private key.
6
6
7
7
Following inputs can be used as ` step.with ` keys
8
8
9
- | Name | Required | Type | Description |
10
- | ---------------| ----------| --------| ---------------------------------|
11
- | ` host ` | Yes | String | Remote hostname. |
12
- | ` port ` | No | Number | SSH Port (default: ` 22 ` ). |
13
- | ` socket-path ` | Yes | String | Path at which to create socket. |
14
- | ` key ` | Yes | String | base64 private key |
9
+ | Name | Required | Type | Description |
10
+ | ---------------| ----------| --------| ------------------------------------|
11
+ | ` host ` | Yes | String | Remote hostname. |
12
+ | ` port ` | No | Number | SSH Port (default: ` 22 ` ). |
13
+ | ` socket-path ` | Yes | String | Path at which to create socket. |
14
+ | ` key ` | Yes | String | base64 private key |
15
+ | ` lifetime ` | No | Number | Seconds to keep key (default: 600) |
15
16
16
17
You may encode your private key in base64 via:
17
18
@@ -25,6 +26,7 @@ Store that in GitHub Secrets to securely pass to the action.
25
26
| Name | Description |
26
27
| ---------------| ----------------------------------|
27
28
| ` socket-path ` | Path at which socket was created |
29
+ | ` agent-pid ` | SSH Agent PID. |
28
30
29
31
### Example usage
30
32
``` yaml
@@ -44,7 +46,7 @@ Store that in GitHub Secrets to securely pass to the action.
44
46
## Development
45
47
Make ` ncc` available in your build environment:
46
48
` ` ` shell
47
- npm i -g @zeit /ncc
49
+ npm i -g @vercel /ncc
48
50
` ` `
49
51
50
52
Install package dependencies :
0 commit comments