4 ms·
I'm curious what are some prototypical use cases for you to embed an ssh sever into an application?
by LifeOverIP 2y ago
I'm curious what are some prototypical use cases for you to embed an ssh sever into an application?
- hiAndrewQuinn 2y ago[redacted for accuracy]
- devsda 2y agoGoing through the code, I couldn't find a server but only usage of ssh client. May be I missed it. But I think GP was looking for usecases where its helpful to run an embedded ssh server using a go binary. Ansible facts can probably be a cross platform way to collect most of the information you need. For the usecases where scp'ng the binary is needed, I think ansible supports jumphost config too. But I agree that for one off tasks, running a single binary is convenient compared to setting up ansible.
- hiAndrewQuinn 2y agoOop - you're right, I missed that they wanted server examples specifically. Thanks for the save.
- justsid 2y agoI work for a C++ company but the game we work on has a debug telnet server. It’s super useful to inspect state or even run automation scripts. Also has a bunch of useful debug commands like the ability to live reload shaders or change how various subsystems work.