cybertron
02-09-2005, 01:24 AM
Some of you may recall that a while ago I posted that our CS server was hacked, and now as part of the cleanup they've disabled all of our accounts until we visit the prof in charge to get them re-enabled. It turns out this was no big deal for me because I had SSH shared keys setup so that I could login passwordless, and it still lets me in from my computer even though I can't do anything that requires my password. The opposite is not true though, i can't login to my computer from the CS one without a password because I (thankfully) never bothered to set it up (doesn't work well anyway for various reasons).
Anyway, my question is this: With the public key on the CS server (in ~/.ssh/authorized_keys2), no one could gain access to my computer, right? They could take it and allow me to login without a password to one of their computers, but again not the other way around since that's the way it was setup in the first place. That makes sense to me, but I wanted to run it past some people who know more about it than me (and I'm not sure anyone at my school qualifies;)).
Also, assuming that the above is true, do I need to regenerate my keys to make sure no one could potentially get in to the server again because they got ahold of my public key? I also don't think this should be true since that would sort of defeat the purpose of the whole thing, but again I'm not sure.
TIA.
Anyway, my question is this: With the public key on the CS server (in ~/.ssh/authorized_keys2), no one could gain access to my computer, right? They could take it and allow me to login without a password to one of their computers, but again not the other way around since that's the way it was setup in the first place. That makes sense to me, but I wanted to run it past some people who know more about it than me (and I'm not sure anyone at my school qualifies;)).
Also, assuming that the above is true, do I need to regenerate my keys to make sure no one could potentially get in to the server again because they got ahold of my public key? I also don't think this should be true since that would sort of defeat the purpose of the whole thing, but again I'm not sure.
TIA.