Hello All

        I'm with a strange problem. I have two Debian boxes (the first
is called primer and the second is called segundo under anillo.org.ar 
domain). I can connect via ssh from primer to segundo, but can't from
segundo to primer. The configs are the same in both boxes.

        The output when I run 

[EMAIL PROTECTED]:~$ ssh -v -v -v primer
SSH Version OpenSSH-1.2.3, protocol version 1.5.
Compiled with SSL.
SSH Version OpenSSH-1.2.3, protocol version 1.5.
Compiled with SSL.
SSH Version OpenSSH-1.2.3, protocol version 1.5.
Compiled with SSL.
debug: Reading configuration data /etc/ssh/ssh_config
debug: Applying options for *
debug: ssh_conect: getuid 1000 getuid 1000 anon 1
debug: Connecting to primer.anillo.org.ar [192.168.7.1] port 22.
debug: Connection established.
ssh_exchange_identification: Conection closed by remote host
debug: Calling cleanup 0x8056840(0x0)
[EMAIL PROTECTED]:~$

        I've toched the configs to many times and receiving the same 
output. Now I have the originals. In another thread I read that's 
result from a bad DNS setting. But there are only two machines (in 
primer resides the DNS.

[EMAIL PROTECTED]:~$ cat /etc/bind/db.anillo.org.ar
;
; BIND reverse data file for local loopback interface
;
$TTL    604800
@       IN      SOA     primer.anillo.org.ar. root.primer.anillo.org.ar. (
                 2002011700             ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
                                                                                
                TXT     "anillo.org.ar - MI RED LOCAL"
@       IN      NS      primer.         ; Inet address of nameserver
;               MX      10 primer       ; Primary Mail Exchanger
;               MX      20 segundo      ; Secondary Mail Exchanger
;
primer          A       192.168.7.1
                HINFO   "Pentium Celeron" "Linux/Debian"
                TXT     "El Primero"
mail            CNAME   primer
pop3            CNAME   primer

segundo         A       192.168.7.2
                HINFO   "Pentium III" "Linux/Debian"
                TXT     "El Segundo"
www             CNAME   segundo
ftp             CNAME   segundo

[EMAIL PROTECTED]:~$ cat /etc/bind/db.7.168.192    
;
; BIND reverse data file for local loopback interface
;
$TTL    604800
@       IN      SOA     primer.anillo.org.ar. hostmaster.primer.anillo.org.ar. 
(                              
                 2002011700             ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      primer.anillo.org.ar.
1       IN      PTR     primer.anillo.org.ar.
2       IN      PTR     segundo.anillo.org.ar.

[EMAIL PROTECTED]:~$ 
                                                
In the daemon.log and in the syslog on host primer I can see

Jan 22 13:05:048 primer named[610]: denied AXFR from [192.168.7.1].1029 for 
"segundo.anillo.org.ar" (not zone top)

What means "zone top"?

In the auth.log I can see

Jan 22 13:54:41 primer sshd[708]: refused connect from segundo.anillo.org.ar

In both boxes the file /etc/resolv.conf points to primer. What's happen here?
Could any help?

Thanks
                Javier

P.D.: Excuse my bad english. Thanks.

Reply via email to