mirror of
https://gitea.com/actions/appleboy-ssh-action.git
synced 2024-11-29 13:39:36 +01:00
c8594ae37d
- Add example GitHub Actions workflow for executing remote SSH commands using password authentication Signed-off-by: appleboy <appleboy.tw@gmail.com>
1,000 B
1,000 B
name | about | title | labels | assignees |
---|---|---|---|---|
Bug report | Create a report to help us improve | bug | appleboy |
Describe the bug
A clear and concise description of what the bug is. If applicable, add screenshots to help explain your problem.
Yaml Config
Please post your Yaml configuration file along with the output results.
name: remote ssh command
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: whoami
Related environment
Please provide the following information:
- Your hosting provider information, such as DigitalOcean, Linode, AWS, or GCP.
- The version information of your host's SSH service.
- The information from your host's SSH configuration file.