Files
vbevdev 281375a7dd
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
Experiment/runner (#2)
Reviewed-on: #2
2026-07-03 21:15:23 +00:00

17 lines
399 B
YAML

name: '⚙️ Configure SSH Client'
description: 'Installs sshpass and configures known_hosts'
inputs:
ssh_host:
description: 'Remote server IP'
required: true
runs:
using: 'composite'
steps:
- shell: bash
run: |
sudo apt-get update && sudo apt-get install -y sshpass
mkdir -p ~/.ssh
ssh-keyscan -p 22 "${{ inputs.ssh_host }}" >> ~/.ssh/known_hosts