Live data from Hacker News

Show HN: I made an SSH tunnel manager to learn Go

github.com

71–72 of 72 posts

Re: Show HN: I made an SSH tunnel manager to learn Go

#71
post #17

Well done. The ease of use and high quality of the Go SSH libraries (golang.org/x/crypto/ssh) is a killer feature of Go, imho. Also, there is a high level abstraction, github.com/gliderlabs/ssh, which makes it completely trivial to embed an ssh server into an application, giving you a nice way to inspect counters and flip feature flags and tuneables.

I'm curious what are some prototypical use cases for you to embed an ssh sever into an application?

I 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.

Re: Show HN: I made an SSH tunnel manager to learn Go

#72
post #64

Earlier quoted context omitted.

Yeah, I'm gonna stick with POSIX. All systems I'm aware of (other than Linux Desktop apps) use $HOME. If you want to extend your functionality to use an OS-specific directory, that's fine, but $HOME is the safest default. (Same for things like $TMPDIR)

None of that is defined in POSIX, hence the perceived need for XDG.

It is: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1...
Post reply on HN