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

SSH tunnelling for NBD #231

Open
amorsen opened this issue Nov 2, 2024 · 1 comment
Open

SSH tunnelling for NBD #231

amorsen opened this issue Nov 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@amorsen
Copy link

amorsen commented Nov 2, 2024

Currently you can do nbd tunnelling through ssh if you open a separate ssh connection with -L 10809:localhost:10809. All that is required is to pass the -I localhost option to virtnbdbackup.

It would be really convenient if virtnbdtunnel could do this natively with the ssh connection it establishes anyway for qemu+ssh.

@amorsen amorsen added the enhancement New feature or request label Nov 2, 2024
@abbbi
Copy link
Owner

abbbi commented Nov 5, 2024

neat idea, but looking at python paramikos port forwarding example its quite some code to add. Not sure if its worth the hassle if a simple ssh command beforehand can easily be scripted around.

https://github.com/paramiko/paramiko/blob/main/demos/rforward.py

I also would gess performance is probably better using ssh instead of the python based implementation.

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

2 participants