Skip to content

Error in preparation before connecting to ssh #306

Closed

Description

@khamdullaevuz
image

How can i fix?

Activity

  1. appleboy commented on Mar 19, 2024

    @appleboy
    Owner

    I will take it.

  2. appleboy commented on Mar 19, 2024

    @appleboy
    Owner

    Same with #303 comments.

    cc @muckelba

  3. khamdullaevuz commented on Mar 19, 2024

    @khamdullaevuz
    Author

    thank you

  4. appleboy commented on Mar 19, 2024

    @appleboy
    Owner

    Hi @khamdullaevuz

    I reopened the issue since the #303 issue you reported is the same as what you reported, let's discuss it here together.

  5. khamdullaevuz commented on Mar 19, 2024

    @khamdullaevuz
    Author

    Hello @appleboy
    Yes, I thought the bug was fixed and closed this. But the error is observed again.

  6. appleboy commented on Mar 19, 2024

    @appleboy
    Owner

    The following is my config

    name: testing master
    on: [push]
    
    jobs:
      testing01:
        name: testing new bash flow
        runs-on: ubuntu-latest
        steps:
          - name: checkout
            uses: actions/checkout@v1
    
          - name: try bash script
            uses: appleboy/ssh-action@master
            with:
              host: 2402:1f00:8000:800::2628
              username: ubuntu
              password: ${{ secrets.OVH_PASSWORD }}
              protocol: tcp6
              port: 22
              command_timeout: 30s
              script: |
                whoami

    output:

    image

    https://github.com/appleboy/ssh-action/actions/runs/8343438946/job/22833645938

    You can't see the download progress?

  7. aleem-333 commented on Mar 20, 2024

    @aleem-333

    @appleboy Facing same issue

    image
  8. siegewallace06 commented on Mar 22, 2024

    @siegewallace06

    Hi team, can I check how long will the fix be released? Or is there any workaround first? I'm using this for deploying codes for all my projects.
    image

    Here is my workflow file:
    ` deploy:
    runs-on: ubuntu-latest
    needs: build
    steps:
    - name: Checkout Code
    uses: actions/checkout@v2

            - name: SSH To Server and Deploy the Code
              uses: appleboy/ssh-action@master
              with:
                host: ${{ secrets.HOST }}
                username: ${{ secrets.USERNAME }}
                port: ${{ secrets.PORT }}
                password: ${{ secrets.PASSWORD }}
                script: |
                    echo "Deploying the service to staging server..."`
    
  9. appleboy commented on Mar 22, 2024

    @appleboy
    Owner

    @siegewallace06 Please use the stable version appleboy/ssh-action@v1.0.3 first.

  10. siegewallace06 commented on Mar 25, 2024

    @siegewallace06

    @siegewallace06 Please use the stable version appleboy/ssh-action@v1.0.3 first.

    Thanks, it works

  11. minhnhatnoe commented on May 21, 2024

    @minhnhatnoe

    I also encountered error during preparation before connecting, albeit with a different error message.

    image

    The step looks like

          - name: Connect and pull
            uses: appleboy/ssh-action@master
            with:
              username: ${{ secrets.SSH_USER }}
              host: ${{ secrets.SSH_HOST }}
              key: ${{ secrets.SSH_KEY }}
              script: ~/update.sh
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions