Skip to content
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

can't connect without a private SSH key or password #318

Closed
andersonalz opened this issue Apr 28, 2024 · 2 comments
Closed

can't connect without a private SSH key or password #318

andersonalz opened this issue Apr 28, 2024 · 2 comments

Comments

@andersonalz
Copy link

Run appleboy/ssh-action@master
with:
host: *****
username: root
port: ******
command_timeout: 2000m
script: cd /var/www/*****
git checkout demo
git pull
docker compose down
docker compose up -d --build

protocol: tcp
timeout: 30s
proxy_port: 22
proxy_timeout: 30s

Run echo "$GITHUB_ACTION_PATH" >> $GITHUB_PATH
Run entrypoint.sh
Will download drone-ssh-1.7.4-linux-amd64 from https://github.com/appleboy/drone-ssh/releases/download/v1.7.4
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

100 5580k 100 5580k 0 0 39.9M 0 --:--:-- --:--:-- --:--:-- 39.9M
2024/04/28 12:33:02 Error: can't connect without a private SSH key or password
Error: Process completed with exit code 1.

@appleboy
Copy link
Owner

appleboy commented May 4, 2024

host: *****
username: root
port: ******

missing password or raw key?

@andersonalz
Copy link
Author

andersonalz commented May 15, 2024

host: *****
username: root
port: ******

missing password or raw key?

yes my password was wrong
Thank you for your response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants