-
Notifications
You must be signed in to change notification settings - Fork 84
/
action.yml
36 lines (36 loc) · 1.11 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Run SSH command
author: garygrossgarten
description: Github Action to run commands on a remote server using SSH
inputs:
command:
description: "Command to execute on the remote server."
required: true
host:
description: "Hostname or IP address of the server."
required: false
default: "localhost"
username:
description: "Username for authentication."
required: false
port:
description: "Port number of the server."
required: false
default: "22"
privateKey:
description: "File Location or string that contains a private key for either key-based or hostbased user authentication (OpenSSH format)"
required: false
password:
description: "Password for password-based user authentication."
required: false
passphrase:
description: "For an encrypted private key, this is the passphrase used to decrypt it."
required: false
tryKeyboard:
description: "Try keyboard-interactive user authentication if primary user authentication method fails."
required: false
runs:
using: "node20"
main: "dist/index.js"
branding:
color: "purple"
icon: "lock"