TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to use the SSH protocol with Go – part 1/2

35 pointsby _Soulouover 10 years ago

4 comments

fvtover 10 years ago
Very interesting read.<p>GitHub explained in &quot;How We Made GitHub Fast&quot;(2009) [1] they patched their ssh daemon, so that it would do some lookups in a MySQL DB.<p>I wonder if daemons like OpenSSH now have some kind of plugin mechanism that lets one use their own lookup strategy.<p>[1]: <a href="https://github.com/blog/530-how-we-made-github-fast" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;blog&#x2F;530-how-we-made-github-fast</a>
评论 #8706766 未加载
评论 #8706878 未加载
josegonzalezover 10 years ago
Question by someone who has no real knowledge about the ssh protocol - is using something like this secure? And if not, what can be done to make their implementation secure?<p>Separately, I don&#x27;t know what other - if any - features a db-backed ssh server needs to provide. Is this all that is necessary?
评论 #8707531 未加载
评论 #8706921 未加载
j_sover 10 years ago
Nice!<p><i>That’s two problems in one : we had to find a synchronization mechanism, and, sensitive data are spread out on several machines</i><p>I was confused by the implication that public keys are sensitive data. I guess the list of usernames and commands could be?
评论 #8707560 未加载
akerl_over 10 years ago
Worth noting that newer OpenSSH supports AuthorizedKeysCommand, which will call out to an external tool for key data.<p>Obviously this doesn&#x27;t solve all problems, but it does provide a middle ground between flat keyfiles and rolling your own daemon.