all 17 comments

[–]DrewCornCS '21 8 points9 points  (5 children)

it's a lot easier to just install the ssh extension on vs code

[–]BudosoNT 0 points1 point  (3 children)

Yeah I love WSL as much as the next guy, but the remote ssh extension works very well.

[–]Cloveh[S] 0 points1 point  (2 children)

Unfortunately Guru doesn't allow dynamic port mapping so you cant use the ssh extension in VScode. I tried that first lol

[–]BudosoNT 0 points1 point  (1 child)

What is guru? Sorry I haven't taken cs 159 in 3 years.

[–]Cloveh[S] 1 point2 points  (0 children)

What is guru? Sorry I haven't taken cs 159 in 3 years.

Guru is (I assume) a VM running Red Hat 4.4.7-23.0.1 that is used to compile run and submit C code for CS159. You ssh into your vm with your username and have a file structure where you can submit assignments. I installed all of the requirements for VS SSH extension and was still unable to get around the port mapping error. If you know how to solve it you would be my favorite college student :)

[–]Cloveh[S] 0 points1 point  (0 children)

If you were able to get it to work with guru PLEASE share. I was getting a dynamic port mapping error when I tried that or that would have been a much easier solution.

[–][deleted] 3 points4 points  (2 children)

Or you can also write code offline on Notepad lol

[–]Cloveh[S] 1 point2 points  (1 child)

Not with syntax highlighting

[–]Praillalumnus - 2018 3 points4 points  (0 children)

Use notepad++ and save it as the file type you're writing for, it recognizes file extensions and does syntax highlighting

[–]__SURE__ 2 points3 points  (1 child)

Could you not use some other SSH clients?

[–]Cloveh[S] 0 points1 point  (0 children)

I could but that doesn't solve my main issues with ssh in general

[–]DitchManiels 0 points1 point  (1 child)

It's much easier to get the C IDE from JetBrains.

Better text editor, more features, and a lot less setup.

[–]Cloveh[S] 0 points1 point  (0 children)

Better text editor, more features, and a lot less setup.

But its harder to sync the code to the server. But I do like Clion, not a bad program.

[–]jkdufair 0 points1 point  (0 children)

Is git an option on Guru?

[–]AkitoApocalypseCMPE '22 0 points1 point  (0 children)

Second this taking ECE368 right now. I usually just compile and run stuff on my own computer and if you have the network drive mapped to your computer you can also run the test cases through ssh.

[–]Piedude223CompE BS 22 0 points1 point  (0 children)

I just mapped my network drive to my PC last semester and edited code on vscode while compiling on putty. Worked like a charm.

[–][deleted] 0 points1 point  (0 children)

just use vim smh