mohabusama / pyguacamole

Guacamole Python Client
MIT License
108 stars 34 forks source link

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

Open manikanta-taashee opened 2 months ago

manikanta-taashee commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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!