View previous topic :: View next topic |
Author |
Message |
borior n00b
Joined: 15 Dec 2003 Posts: 12 Location: Cloud 9, Planet X
|
Posted: Tue Apr 20, 2004 7:38 pm Post subject: SSH - odd error message? |
|
|
Can anyone tell me a) what this means, and b) how i can fix it.
I have never seen it before ... and i have a feeling it has something todo with setting up iptables. :s
Code: |
reverse mapping checking getaddrinfo for 217-13-152-203.spitfireuk.net failed - POSSIBLE BREAKIN ATTEMPT!
|
_________________ If Windows is the answer, it means you haven't understood the question ... |
|
Back to top |
|
|
primero.gentoo Guru
Joined: 23 Dec 2003 Posts: 402
|
Posted: Tue Apr 20, 2004 7:47 pm Post subject: |
|
|
can you give more info about you environmet? like if you are connectin on the same network or it is a remote connection....
Does ther server you are connecting to changed his key recently or the ip address?
try to remove the entry of the server from the authorized_keys in your home directory.
bye _________________ "Linux, the choice of a GNU generation"
==Micro$oft - just say NO==
(L#USER 353039) |
|
Back to top |
|
|
justanothergentoofanatic Guru
Joined: 29 Feb 2004 Posts: 337
|
Posted: Tue Apr 20, 2004 8:20 pm Post subject: |
|
|
By default, sshd does reverse DNS lookups on all incomming connections. DNS can work two ways. Given a domain name, it can find an IP address (the usual way). Or, given an IP address, it can find a domain name (reverse DNS).
So, sshd looks up the domain name for an incomming host's IP address. This is then compared to the host's advertized domain name -- in other words, whatever the host tells sshd its domain name is. If the two don't match, sshd logs a warning message.
Unfortunately, reverse DNS only works if the host's ISP has set it up correctly, and many ISPs don't bother. Since this check is, in practice, useless, you can simply disable it by adding the line "UseDNS no" to /etc/ssh/sshd_config.
-Mike |
|
Back to top |
|
|
borior n00b
Joined: 15 Dec 2003 Posts: 12 Location: Cloud 9, Planet X
|
Posted: Tue Apr 20, 2004 8:56 pm Post subject: |
|
|
UseDNS no is set in my sshd_config, and this is a remote connection. Removing the entry from known_hosts makes no difference :s Any more ideas? _________________ If Windows is the answer, it means you haven't understood the question ... |
|
Back to top |
|
|
justanothergentoofanatic Guru
Joined: 29 Feb 2004 Posts: 337
|
Posted: Tue Apr 20, 2004 9:45 pm Post subject: |
|
|
Did you restart sshd after changing sshd_config? It only reads the config file at startup.
-Mike |
|
Back to top |
|
|
borior n00b
Joined: 15 Dec 2003 Posts: 12 Location: Cloud 9, Planet X
|
Posted: Wed Apr 21, 2004 2:22 pm Post subject: |
|
|
its been set like that for a while
...i think it was my isp ... not allowing reverse dns lookups ... cos it works now _________________ If Windows is the answer, it means you haven't understood the question ... |
|
Back to top |
|
|
|