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

Implementing an SSH/RDP Tunnel in Django for Interactive VM Sessions #21

Open
manikanta-taashee opened this issue Jul 12, 2024 · 2 comments

Comments

@manikanta-taashee
Copy link

Hello,

I’m working on a Django backend and looking to implement a tunneling mechanism that would allow the frontend to initiate interactive SSH/RDP sessions. The goal is for end-users to access their Linux/Windows VMs directly from my application.

Is it possible to create such a tunnel object within Django that facilitates WebSocket calls for this purpose? If so, could this be achieved using this module, or is there another recommended approach?

@mohabusama
Copy link
Owner

I haven't tried an implementation using Django, but in general, pygaucamole implements a Client lib which can be used in any server. You can find here an example project using a Flask/gevent websocket server.

@manikanta-taashee
Copy link
Author

Hai @mohabusama,

I attempted to run the provided Git repository, but I encountered multiple errors. Are you certain that the code is functioning correctly?

Could you please review and confirm?

Thanks!

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