Show HN: My SSH server knows who you are
221–230 of 257 posts
Re: Show HN: My SSH server knows who you are
#222Re: Show HN: My SSH server knows who you are
#223The "server knows who you are" or rather, I "tell the server who I am"
Interesting experiment though.
Re: Show HN: My SSH server knows who you are
#224Earlier quoted context omitted.
The remote ssh process asks your host to unencrypt it's traffic? Your process takes an encrypted stream, sends the plaintext, and your keys never leave your machine. That's...incredibly clever, although I can only think of one scenario where it would be necessary (navigating securely through a sequence of ssh sessions where some of the secondary hosts are inaccessible from your originating host. E.g. a kind of "secur…
its very useful for so called "Bastion Hosts", an SSH server that allows further access into the network and is totally locked down.
Ex.:
Host bastion.company
ProxyCommand none
Host *.company
ProxyCommand ssh -W %h:%p bastion.companyRe: Show HN: My SSH server knows who you are
#225Re: Show HN: My SSH server knows who you are
#226Earlier quoted context omitted.
Exactly! Once I get the keys I just check them against a scraped database of GitHub keys and ask the API for your name. (And if you have agent forwarding active I show you a big WARNING [0].) There's an explanation in the README [1] but the actually interesting stuff is in server.go [2]. Finally I mentioned a few reasons it might not work for you below [3]. [0] http://git.io/vOVYm [1] https://github.com/FiloSottile/w…
> (And if you have agent forwarding active I show you a big WARNING [0].) It amazes me that people enable that for random servers. Seems like SSH should make that harder. Enabling it for a specific server you trust makes sense; enabling it for all servers doesn't. SSH could reject "ForwardAgent" outside a Host block, for instance, and force you to at least write a "Host *" block. EDIT: Check out this search: https://…
Re: Show HN: My SSH server knows who you are
#227I think i'll drive a node-webkit/systray project being an alternative to pageant (#nwagent on freenode)
Re: Show HN: My SSH server knows who you are
#228A good reminder that your public keys are, in fact, public. For most people, this is probably a good thing, unless you're specifically trying to hide your identity.
Re: Show HN: My SSH server knows who you are
#229Earlier quoted context omitted.
public keys I hope?!
No, it gives the remote server use of your private keys during the lifetime of your connection through connection to your local agent. Yes, it's really stupid to enable AgentForwarding.
Re: Show HN: My SSH server knows who you are
#230FYI, this happens because SSH automatically presents a public key to the server when trying to authenticate. If the server doesn't know that key, then SSH tries the next one. You can enumerate all of someone's keys this way (like this SSH server does) If you want to disable this sort of behaviour you can disable SSH from sending keys automatically, and then tell SSH which identity files need to be sent to each host.…
Exactly! Once I get the keys I just check them against a scraped database of GitHub keys and ask the API for your name. (And if you have agent forwarding active I show you a big WARNING [0].) There's an explanation in the README [1] but the actually interesting stuff is in server.go [2]. Finally I mentioned a few reasons it might not work for you below [3]. [0] http://git.io/vOVYm [1] https://github.com/FiloSottile/w…
I almost always log into trusted servers, but it's good to be preemptive ;-)