ssh-action: i/o timeout
i can’t connect to my server. having dial tcp ***:22: i/o timeout
error
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (2 by maintainers)
i can’t connect to my server. having dial tcp ***:22: i/o timeout
error
In my case, it was a conflict because I was declaring
PORT
env var for the Node app, while this was affecting thessh-action
.The solution was to rename the variable from
PORT
toAPP_PORT
.We just had this error and it was caused by the server IP changed but the old IP was hardcoded into GitHub actions.
You saved my day! Thank you:)
I have the same issue. This is my job.
And the error remains the same: ======END====== 2024/03/29 04:05:00 dial tcp ***:22: i/o timeout
I’m not sure if it’s related to the port, but I don’t see why it would be. I’m trying to access a server that belongs to me. II have one last question, in the SSH_KEY should I put the private key I have on my server, right?
Please see the document https://github.com/appleboy/ssh-action#setting-up-ssh-key before using the plugin.