Lurker News

Comments (245) 68 threads

Earlier comments
jakeogh#
I wish there was a way to have ssh automatically ssh-add keys you use... with a expiration date. I've tried to get this to work a few times, but I use a unique key for every login, so I need something to parse ~/.ssh/config to find the right Host def and ssh-add it. The code is obviously in ssh, but it's not exposed to the command line as far as I can tell.
cmadan3 replies#
Good thing I use HTTP to push to Github (or not?)
badmadrad#
no. you should use an ssh key w/ password. more secure and easier. your public key is designed to be public.
aw3c2#
Just use another key. I have like 20. It sucks that doing this is pretty complicated though. Separation of identities is crucial on the internet.
justizin#
SSH with a keypair should be much more secure than user/pass over TLS.
georgerobinson1 reply#
This is clever, and very sneaky!

Let's say I downloaded every public key from GitHub to ~/.ssh. Would this identify me as everyone on GitHub, or just the owner of the first public key to match?
Furthermore, I wonder how Go channels compare to libevent (more specifically, epoll/queue) for high-performance network software. Is there any previous work which compares the two?

ParadoxOryx1 reply#
Adding those public keys would not identify you as everyone, as you do not have all the matching private keys.
georgerobinson#
Someone else commented on here that:

> FYI, 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)
Therefore, even though I can't authenticate as Linus Torvalds, an SSH server can see me present his public key and hence, log that public key for future use, like sending a message? Is that not correct?

Load more comments