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
Error "can't connect without a private SSH key or password" #113
Comments
I know that already wrote on this error, it was specified that you need to add: |
Switch from using scp-action@master to v0.1.4, this fixed the issue for me |
I have the same issue as described when using the |
Now I see another error:
|
This solution worked. Note: Set version |
@saberkovich Please update your config. Don't use environment variable. Find - name: Copy repository contents via scp
uses: appleboy/scp-action@master
env:
HOST: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }}
PORT: ${{ secrets.PORT }}
KEY: ${{ secrets.SSHKEY }}
with:
source: "."
target: "/servers_folder/bfg-bot/" Replace - name: Copy repository contents via scp
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: ${{ secrets.SSHKEY }}
source: "."
target: "/servers_folder/bfg-bot/" |
@appleboy Thanks a lot problem solved |
Thanks @appleboy, that did the trick. |
Thank you for the support @appleboy , we had this issue as well. Just asking out of curiosity, were there any internal changes in the current release (v0.1.9) that could have affected this behavior? It was working for us until a couple of days ago. |
Error: docker: command not found Getting this error when using above code. |
I fixed it by removing the |
Fixing missing ssh key error, from appleboy/scp-action#113
I ran into the error I described in the title, tried to reinstall the server but nothing helps. Surprisingly, yesterday everything was working fine, today the error is already popping up.
My file:
Error:
Error: can't connect without a private SSH key or password
The text was updated successfully, but these errors were encountered: