Skip to content

SSH from production task #1723

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

Closed
Kaihuang724 opened this issue Feb 20, 2025 · 1 comment
Closed

SSH from production task #1723

Kaihuang724 opened this issue Feb 20, 2025 · 1 comment

Comments

@Kaihuang724
Copy link

Hi,

I'm wondering if it's possible to SSH into a remote server from a task. Currently, this works locally because I have ssh in my local environment, but it fails in production because ssh is not available.

Is there any way to make this available?

@matt-aitken
Copy link
Member

You should be able to use a package like ssh2, as long as you add it to build.external in the trigger.config file.

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