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

Bun shell over SSH #10542

Open
oguimbal opened this issue Apr 26, 2024 · 0 comments
Open

Bun shell over SSH #10542

oguimbal opened this issue Apr 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@oguimbal
Copy link
Contributor

What is the problem this feature would solve?

Running commands on a distant machine over SSH using the shell api

What is the feature you are proposing to solve the problem?

Some API like this would be awesome:

import { $ } from 'bun';

// connect over ssh, optionally specifying SSH key/password/etc
const $$ = $.ssh('user@ip', { key: `~/.ssh/id_rsa` });

console.log('Remote files', await $$`ls -la`.text());

What alternatives have you considered?

No response

@oguimbal oguimbal added the enhancement New feature or request label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant