Open
Description
Describe the bug
ssh-action was previously working on 1.0.3
but has stopped connecting since upgrading to 1.2.0
.
The error being throw in 1.2.0
as follows:
Screenshot of the successful run using 1.0.3
:
Yaml Config
Please post your Yaml configuration file along with the output results.
name: test-ssh-update
on: push
jobs:
ssh-103:
runs-on: ubuntu-latest
environment: staging
steps:
- uses: ORG-OMITTED/github-actions/openvpn@main
with:
config: ${{ secrets.VPN_CONFIG }}
username: ${{ secrets.VPN_USERNAME }}
password: ${{ secrets.VPN_PASSWORD }}
- uses: appleboy/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEVOPS_WORKFLOWS_PAT }}
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
echo hello world 103
ssh-120:
runs-on: ubuntu-latest
environment: staging
steps:
- uses: ORG-OMITTED/github-actions/openvpn@main
with:
config: ${{ secrets.VPN_CONFIG }}
username: ${{ secrets.VPN_USERNAME }}
password: ${{ secrets.VPN_PASSWORD }}
- uses: appleboy/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEVOPS_WORKFLOWS_PAT }}
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
echo hello world 120
Related environment
Please provide the following information:
- Test host ssh service is
OpenSSH 6.6.1
.
Activity