Skip to content

ENAMETOOLONG: name too long, open '***' #32

Description

@wyllisMonteiro

I'm trying to run a script on remote machine. For some reason an action fails.

deploy job

deploy:
    runs-on: ubuntu-latest

    needs: build
    if: github.ref == 'refs/heads/ci-1'
    steps:
    - name: Deploy to Server
      uses: garygrossgarten/github-action-ssh@release
      with:
        command: ls -a
        host: ${{ secrets.REMOTE_HOST }}
        username: ${{ secrets.REMOTE_USER }}
        privateKey : ${{ secrets.SSH_PRIVATE_KEY}}

I set my secrets as you can see
2

I got this message
1

It seems my hostname is too long but it's the good one. I tried to connect with command line ssh @, it work's well. I try to connect to ionos host via github action

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions