View previous topic :: View next topic |
Author |
Message |
bll0 Apprentice
Joined: 22 May 2004 Posts: 178
|
Posted: Tue Oct 26, 2004 6:45 am Post subject: Man in the Middle |
|
|
Hi there!
I've set up a ssh-server on my machine and know I am able to log into into (as you might know ) from a distance by a dyndns-account.
But since yesterday I got an error - message that the rsa-key identifying my server is invalid and that there might be a "man in the middle".
I would be pleased if someone could tell me something about this, or post a link or can give me some information about what can I do.
Thanks a lot, the "man at one end"
-Azazel |
|
Back to top |
|
|
jhgz1 Retired Dev
Joined: 16 Dec 2003 Posts: 115 Location: Gainesville
|
Posted: Tue Oct 26, 2004 7:02 am Post subject: |
|
|
this means that keys where changed, either by an authorized or unauthorized person. if you are sure your machine is not compromised, remove the old key from the client and again connect to the server as before. _________________ Bei Gentoo mithelfen wollen und kein Programmierer? Gentoo sucht Übersetzer, die bereit sind kontinuierlich mitzuarbeiten. |
|
Back to top |
|
|
CaT n00b
Joined: 18 Oct 2004 Posts: 30
|
|
Back to top |
|
|
bll0 Apprentice
Joined: 22 May 2004 Posts: 178
|
Posted: Tue Oct 26, 2004 12:56 pm Post subject: |
|
|
Well, now I know what a man in the middle is, but how can I do something AGAINST it??? Because I would like to use my sshd without beeing spyed by someone else.
I'm not sure if the message of ssh is wrong, I'm also not sure if it is safe do connect to my computer through a ssh-tunnel.
So, what can I do?? _________________ I need a girl whose name doesn't end in .jpg |
|
Back to top |
|
|
josh_Borke n00b
Joined: 26 Oct 2004 Posts: 5
|
Posted: Tue Oct 26, 2004 1:05 pm Post subject: |
|
|
i would generate a new key on the server, and copy it to your client (other than over the network), so that you can be sure that it is not comprimised(sp?) and then try connecting to your server. That way you can be sure if you are indeed suffering from a man-in-the-middle attack. If you continue to receive messages, I would make sure that the key wasn't being changed on the server. HTH
-josh |
|
Back to top |
|
|
bll0 Apprentice
Joined: 22 May 2004 Posts: 178
|
Posted: Tue Oct 26, 2004 2:46 pm Post subject: |
|
|
This seems to be a solution. But how do create that key? something with gpg or ssh?
Would be nice if you would tell me!
Thanks a lot! |
|
Back to top |
|
|
codemaker Guru
Joined: 03 Jun 2004 Posts: 398 Location: Lisboa, Portugal
|
Posted: Tue Oct 26, 2004 3:41 pm Post subject: |
|
|
man ssh-keygen might do the trick |
|
Back to top |
|
|
|