ssh-action
ssh-action copied to clipboard
Error in preparation before connecting to ssh
How can i fix?
I will take it.
Same with https://github.com/appleboy/ssh-action/pull/303 comments.
cc @muckelba
thank you
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.
Hello @appleboy Yes, I thought the bug was fixed and closed this. But the error is observed again.
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:
https://github.com/appleboy/ssh-action/actions/runs/8343438946/job/22833645938
You can't see the download progress?
@appleboy Facing same issue
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.
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..."`
@siegewallace06 Please use the stable version appleboy/[email protected]
first.
I also encountered error during preparation before connecting, albeit with a different error message.
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