Self hosted runner connects to Github server for deployment #152713
Replies: 1 comment
-
Workflow mistake. can be closed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hello everyone,
It's my first time using self hosted Github runner. I have 2 servers (Development and CI/CD server). The CI/CD server hosts the runner and inside my workflow I have an action which connects via SSH to my Development server but for some reason it can't succed without opening the firewall on port 22 to all connections.
I did a
journalctl -u ssh
and seems like Github Actions is connecting via 20.246.79.82 which is Microsoft hosted IP on my machine using SSH.Isn't self hosted supposed to allow better security and allow in house connections ? Why it's connecting via Microsoft server ? It is because of that custom action ?
The SSH action is: appleboy/[email protected]
Feb 28 16:56:09 Dev-Server sshd[4115]: Accepted publickey for deploy from 20.246.79.82 port 26624 Feb 28 16:56:09 Dev-Server sshd[4115]: pam_unix(sshd:session): session opened for user deploy(uid=1000) by deploy(uid=0)
Beta Was this translation helpful? Give feedback.
All reactions