Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading from 1.0.3 to 1.2.0 causes ssh-action to i/o timeout #348

Open
jcarroll-ls opened this issue Nov 18, 2024 · 1 comment
Open

Upgrading from 1.0.3 to 1.2.0 causes ssh-action to i/o timeout #348

jcarroll-ls opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jcarroll-ls
Copy link

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:
image

Screenshot of the successful run using 1.0.3:
image

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:

  1. Test host ssh service is OpenSSH 6.6.1.
@jcarroll-ls jcarroll-ls added the bug Something isn't working label Nov 18, 2024
@appleboy
Copy link
Owner

@jcarroll-ls Any firewall rule?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants