Bluehost.com Web Hosting $6.95

Client cannot login using SSH anymore

This is a discussion on Client cannot login using SSH anymore within the Linux Networking forums, part of the Linux Forums category; Hi all, I have a problem where a client has been logging in to my RH9 server for some time ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-22-2003
Rick
 
Posts: n/a
Default Client cannot login using SSH anymore

Hi all,

I have a problem where a client has been logging in to my RH9 server
for some time now using SSH, now they cannot. Here is an extract from
my /etc/hosts.allow

ALL: LOCAL
ALL: 127.0.0.1
ALL: 192.168.0.0/255.255.255.0
sshd: .prem.tmns.net.au, .internode.on.net, 144.138.213.112
sendmail: ALL except .kr, .tw, .es
popper: ALL except .kr, .tw , .es
imapd: ALL

This is one of the errors from /var/log/secure

Oct 22 10:02:37 server sshd[28785]: warning: /etc/hosts.allow, line 6:
can't verify hostname:
getaddrinfo(wopr-n-144-139-187-154.prem.tmns.net.au, AF_INET) failed

Can anyone enlighten me to what is going on, thanks in advance.

Richard.
Reply With Quote
  #2 (permalink)  
Old 10-22-2003
ynotssor
 
Posts: n/a
Default Re: Client cannot login using SSH anymore

"Rick" <huntervalley@hotmail.com> wrote in message
news:5e6e1036.0310220023.608b22f1@posting.google.c om

> I have a problem where a client has been logging in to my RH9 server
> for some time now using SSH, now they cannot. Here is an extract from
> my /etc/hosts.allow
> ALL: LOCAL
> ALL: 127.0.0.1
> ALL: 192.168.0.0/255.255.255.0
> sshd: .prem.tmns.net.au, .internode.on.net, 144.138.213.112
> sendmail: ALL except .kr, .tw, .es
> popper: ALL except .kr, .tw , .es
> imapd: ALL
> This is one of the errors from /var/log/secure
> Oct 22 10:02:37 server sshd[28785]: warning: /etc/hosts.allow, line 6:
> can't verify hostname:
> getaddrinfo(wopr-n-144-139-187-154.prem.tmns.net.au, AF_INET) failed
> Can anyone enlighten me to what is going on, thanks in advance.


Looks like their DNS doesn't reverse resolve:

$ nslookup -sil 144.139.187.154

Non-authoritative answer:
154.187.139.144.in-addr.arpa name =
wopr-n-144-139-187-154.prem.tmns.net.au.

Authoritative answers can be found from:
139.144.in-addr.arpa nameserver = sy-dns02.tmns.net.au.
139.144.in-addr.arpa nameserver = sy-dns01.tmns.net.au.

$ nslookup -sil wopr-n-144-139-187-154.prem.tmns.net.au
sy-dns02.tmns.net.au

** server can't find wopr-n-144-139-187-154.prem.tmns.net.au: NXDOMAIN

--
use hotmail com for any email replies



-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Reply With Quote
  #3 (permalink)  
Old 10-22-2003
Walter Schiessberg
 
Posts: n/a
Default Re: Client cannot login using SSH anymore

Rick wrote on 22.10.2003 10:23:


> Hi all,
>
> I have a problem where a client has been logging in to my RH9 server
> for some time now using SSH, now they cannot. Here is an extract from
> my /etc/hosts.allow
>
> ALL: LOCAL
> ALL: 127.0.0.1
> ALL: 192.168.0.0/255.255.255.0
> sshd: .prem.tmns.net.au, .internode.on.net, 144.138.213.112
> sendmail: ALL except .kr, .tw, .es
> popper: ALL except .kr, .tw , .es
> imapd: ALL
>
> This is one of the errors from /var/log/secure
>
> Oct 22 10:02:37 server sshd[28785]: warning: /etc/hosts.allow, line 6:
> can't verify hostname:
> getaddrinfo(wopr-n-144-139-187-154.prem.tmns.net.au, AF_INET) failed
>
> Can anyone enlighten me to what is going on, thanks in advance.
>



As the entry states wopr-n-144-139-187-154.prem.tmns.net.au has no
reverse DNS entry.
Try putting the machine's IP (144.139.187.154) into hosts.allow.


Walter

Reply With Quote
  #4 (permalink)  
Old 10-22-2003
Bill Unruh
 
Posts: n/a
Default Re: Client cannot login using SSH anymore

huntervalley@hotmail.com (Rick) writes:

]Hi all,

]I have a problem where a client has been logging in to my RH9 server
]for some time now using SSH, now they cannot. Here is an extract from
]my /etc/hosts.allow

]ALL: LOCAL
]ALL: 127.0.0.1
]ALL: 192.168.0.0/255.255.255.0
]sshd: .prem.tmns.net.au, .internode.on.net, 144.138.213.112
]sendmail: ALL except .kr, .tw, .es
]popper: ALL except .kr, .tw , .es
]imapd: ALL

]This is one of the errors from /var/log/secure

]Oct 22 10:02:37 server sshd[28785]: warning: /etc/hosts.allow, line 6:
]can't verify hostname:
]getaddrinfo(wopr-n-144-139-187-154.prem.tmns.net.au, AF_INET) failed

Well, this appears to be an attempt to do a lookup of the
address and it failed. It fails for me as well. This name does not
appear to be in any public DNS table. Perhaps discuss it with whoever is
in charge of prem.tmns.net.au.



]Can anyone enlighten me to what is going on, thanks in advance.

]Richard.
Reply With Quote
  #5 (permalink)  
Old 10-22-2003
Raqueeb Hassan
 
Posts: n/a
Default Re: Client cannot login using SSH anymore

nslookup -sil host_ip
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0