Using the jetbrains gateway coder plugin ssh session
Hi, we are using the jetbrains gateway coder plugin to work with CLion.
We would like to provide vnc and x11 access to the workspace that clion is running in via ssh port and X11 forward which i can do by connecting to ssh via the coder cli. Naturally i would like to have it happen automatically when connected to the workspace with the plugin.
I can set up a portforward and x11 using the additional ssh options in the gateway coder plugin but unfortunately the ssh session seems to not be staying open. Also i would need to set a windows environment variable before establishing the ssh session.
5 Replies
<#1402381791683285135>
Category
Help needed
Product
N/A
Platform
N/A
Logs
Please post any relevant logs/error messages.
What product are you using?
For a VNC connection you can also use kasmVNC module along with the jetbrains gateway module
@I.. ^
for the rest of your questions, were you able to figure it out?
i was on vacation and not working on it for a while, i will be trying kasmvnc
kasmvnc requires a full desktop environment (at least the way the plugin starts does) so i would have to rewrite the plugin and its also not available in the dnf repos so i will have to get it into the airgapped environment first
on further inspection it also doesnt respect almalinux
i managed to work around both restrictions and make it work with with almalinux, using a minimal openbox instead of a fulll desktop and having the rpm airgapped but i had to change much in the plugin code, ill see if i get time to package it into a pullrequest .
The idea of forwarding a port using the coder_app in terraform as a reverse proxy is very intriguing and i will absolutely be using it in our webdev templates.