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

I got this message

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
I'm trying to run a script on remote machine. For some reason an action fails.
deploy job
I set my secrets as you can see

I got this message

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