Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH - odd error message?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
borior
n00b
n00b


Joined: 15 Dec 2003
Posts: 12
Location: Cloud 9, Planet X

PostPosted: Tue Apr 20, 2004 7:38 pm    Post subject: SSH - odd error message? Reply with quote

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
View user's profile Send private message
primero.gentoo
Guru
Guru


Joined: 23 Dec 2003
Posts: 402

PostPosted: Tue Apr 20, 2004 7:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
justanothergentoofanatic
Guru
Guru


Joined: 29 Feb 2004
Posts: 337

PostPosted: Tue Apr 20, 2004 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
borior
n00b
n00b


Joined: 15 Dec 2003
Posts: 12
Location: Cloud 9, Planet X

PostPosted: Tue Apr 20, 2004 8:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
justanothergentoofanatic
Guru
Guru


Joined: 29 Feb 2004
Posts: 337

PostPosted: Tue Apr 20, 2004 9:45 pm    Post subject: Reply with quote

Did you restart sshd after changing sshd_config? It only reads the config file at startup.

-Mike
Back to top
View user's profile Send private message
borior
n00b
n00b


Joined: 15 Dec 2003
Posts: 12
Location: Cloud 9, Planet X

PostPosted: Wed Apr 21, 2004 2:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum