Live data from Hacker News

Hardening SSH with 2FA

gist.github.com

101–103 of 103 posts

Re: Hardening SSH with 2FA

#101

Earlier quoted context omitted.

Do they offer a good solution to the dual problem of: - if you can flash/read everything, so can an attacker - if you have a blackbox nothing can peer into, how can you trust the device?

It looks like the very first FAQ answers that: 1) You generate your own root keys, to deploy onto the device, 2) You can't read the root keys back off the device once it's deployed.

That doesn't quite answer my question, I think.

My statement was that:

- if you have an opaque enclave on the device (e.g. a black box you can't peer into), you can't know what it's doing

- if you don't, you can read the private key bits out

Your statement was that it has a private enclave you cannot extract key material out of, which resolves the latter half of the question, but not the former, I think?

Re: Hardening SSH with 2FA

#103
post #35

Earlier quoted context omitted.

SSH does not use TLS, and does not have the TLS extension SNI.

It can be tunnelled over TLS using openssl

That is true (and relatively easy to do with OpenSSH's ProxyCommand) but that was not the implication of the statement that HAProxy was being used in TCP mode to direct incoming TCP sockets to the correct backend SSH server based on the hostname using any SSH client that understands the SSH protocol.
Post reply on HN