Comments (6)
Please make sure your ssh-actions version.
See #26
from ssh-action.
@boobo94 were you able to solve this problem? I'm facing something similar.
from ssh-action.
@boobo94 were you able to solve this problem? I'm facing something similar.
Not with this one, as I remember. I tried with https://github.com/marketplace/actions/ssh-execute-commands and it worked for me. Now I managed this by using my own sh scripts. Simpler and faster.
from ssh-action.
I'm running into the same issue. Meanwhile, I can manually SSH into this manual with private key without a problem using ssh -i key name@host
Are there ways I can try to replicate this problem manually?
Configs:
- uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST_NAME }}
username: {name}
key: ${{ secrets.SSH_PRIVATE_KEY }}
debug: true
script: |
...... some scripts
Errors
/usr/bin/docker run --name dc4f4de4c6e67c92294da2be44c6897d01c977_b565d8 --label dc4f4d --workdir /github/workspace --rm -e ACTIONS_ALLOW_UNSECURE_COMMANDS -e ARTIFACTORY_TOKEN -e ARTIFACTORY_USER -e DLO_LWDL_DOCKER_IMAGE_APP -e DLO_LWDL_DOCKER_IMAGE_BASE -e DLO_RUNTIME -e INI_KEY -e INPUT_HOST -e INPUT_USERNAME -e INPUT_KEY -e INPUT_DEBUG -e INPUT_SCRIPT -e INPUT_PORT -e INPUT_PASSPHRASE -e INPUT_PASSWORD -e INPUT_SYNC -e INPUT_USE_INSECURE_CIPHER -e INPUT_CIPHER -e INPUT_TIMEOUT -e INPUT_COMMAND_TIMEOUT -e INPUT_KEY_PATH -e INPUT_FINGERPRINT -e INPUT_PROXY_HOST -e INPUT_PROXY_PORT -e INPUT_PROXY_USERNAME -e INPUT_PROXY_PASSWORD -e INPUT_PROXY_PASSPHRASE -e INPUT_PROXY_TIMEOUT -e INPUT_PROXY_KEY -e INPUT_PROXY_KEY_PATH -e INPUT_PROXY_FINGERPRINT -e INPUT_PROXY_CIPHER -e INPUT_PROXY_USE_INSECURE_CIPHER -e INPUT_SCRIPT_STOP -e INPUT_ENVS -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e GITHUB_STEP_SUMMARY -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/ec2-user/actions-runner/_work/_temp/_github_home":"/github/home" -v "/home/ec2-user/actions-runner/_work/_temp/_github_workflow":"/github/workflow" -v "/home/ec2-user/actions-runner/_work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/ec2-user/actions-runner/_work/{REPO_DIR}/{DIR}":"/github/workspace" dc4f4d:e4c6e67c92294da2be44c6897d01c977
======CMD======
# some custom commands
======END======
======ENV======
======END======
2022/03/21 22:53:58 ssh: handshake failed: EOF
from ssh-action.
@evencheng-invitae were you able to solve this problem?
from ssh-action.
In my case, a previous step uses: actions/checkout@v3
was getting a .env
file that somehow made further appleboy/ssh-action
steps unavailable.
Checking it out in a separate folder is my workaround.
from ssh-action.
Related Issues (20)
- Repository env variables are empty HOT 1
- dial tcp ***:***: i/o timeout bastion host to private ec2 HOT 3
- ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain HOT 12
- ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain HOT 4
- Image not building HOT 2
- Error: missing server host HOT 6
- Command not recognised HOT 4
- Deployment completed but nothing happens on my vps HOT 3
- (Multiple hosts) how to find out on which host the command is being executed. HOT 1
- Error in preparation before connecting to ssh HOT 10
- Connection refused HOT 5
- Downloading action fails HOT 5
- i/o timeout HOT 12
- feature request: pass common options via variables/secrets by default
- SSH connection failing with "ssh: handshake failed: read tcp 172.17.0.2:54510->***:22: read: connection reset by peer" HOT 1
- getKeyFile error: open key.pem: permission denied HOT 2
- Feature request: Support TOTP SSH 2FA authentication
- ssh: handshake failed: EOF
- Error: missing server host when called from `workflow_call` HOT 4
- Unable to run bash script with master branch version HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssh-action.