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

forward #8

Open
Tobi-De opened this issue Oct 27, 2024 · 0 comments
Open

forward #8

Tobi-De opened this issue Oct 27, 2024 · 0 comments

Comments

@Tobi-De
Copy link
Member

Tobi-De commented Oct 27, 2024

I don't know what I'll use that for, just looks cool

  from fabric import Connection

  c = Connection('my-remote-server')
  with c.forward_remote(8080):
      c.run("remote-data-writer --port 8080")
      # Assuming remote-data-writer runs until interrupted, this will
      # stay open until you Ctrl-C...
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

1 participant