【发布时间】:2022-12-01 15:36:45
【问题描述】:
is there a way that i can SSH to VM using yaml by using Jumphost?
The action will be like.
github(action) -> ssh user@ip (jumphost) -> ssh user@ip (prod server)
【问题讨论】:
标签: ssh yaml github-actions
is there a way that i can SSH to VM using yaml by using Jumphost?
The action will be like.
github(action) -> ssh user@ip (jumphost) -> ssh user@ip (prod server)
【问题讨论】:
标签: ssh yaml github-actions
Add this action https://github.com/marketplace/actions/ssh-command on your workflow then write your scripts in the command option.
【讨论】: