Hello,
I have host A (AIX 5.2 ML7) and host B (AIX 4.3.3 ML11). Host A wants to execute some command via rsh on host B. So host B got the hostname and FQDN of host A in it's .rhosts of the user being used and in it's /etc/hosts.equiv.
Strange thing is, that a simple
Sometimes returns a directory list and sometimes just a "Permission denied". When I repeat this command every second for several times, I get things like 2 denies, 3 listings, then a denied, then listings and so on.
I tried that from other hosts which had been added to .rhosts and hosts.equiv (also tried without hosts.equiv using .rhosts alone), and no problem showed up. No matter how many tries and how fast I repeated the command: I got the directory listing back.
- I checked the errpt, nothing.
- inetd calls rshd every time it is needed; entry in inetd.conf is just default like on all other boxes.
- Checked hostnames and FQDNs, edited .rhost and hosts.equiv accordingly, tried it with adding the username even not really necessarry.
- I checked if rshd is running often on the target host A and host B, since rshd on the target machine does not really like to be spammed, but it is so fast, I can't make it visible for the short command.
- Both machines don't have heavy traffic by network, disks, CPU nor RAM.
- I googled for similiar problems, but usually people don't get a connection at all due to auth problems in .rhosts or hosts.equiv... no ocassionally problems.
Any hint is welcome, ty!
laters
zaxxon
I have host A (AIX 5.2 ML7) and host B (AIX 4.3.3 ML11). Host A wants to execute some command via rsh on host B. So host B got the hostname and FQDN of host A in it's .rhosts of the user being used and in it's /etc/hosts.equiv.
Strange thing is, that a simple
Code:
rsh hosta "ls"
I tried that from other hosts which had been added to .rhosts and hosts.equiv (also tried without hosts.equiv using .rhosts alone), and no problem showed up. No matter how many tries and how fast I repeated the command: I got the directory listing back.
- I checked the errpt, nothing.
- inetd calls rshd every time it is needed; entry in inetd.conf is just default like on all other boxes.
- Checked hostnames and FQDNs, edited .rhost and hosts.equiv accordingly, tried it with adding the username even not really necessarry.
- I checked if rshd is running often on the target host A and host B, since rshd on the target machine does not really like to be spammed, but it is so fast, I can't make it visible for the short command.
- Both machines don't have heavy traffic by network, disks, CPU nor RAM.
- I googled for similiar problems, but usually people don't get a connection at all due to auth problems in .rhosts or hosts.equiv... no ocassionally problems.
Any hint is welcome, ty!
laters
zaxxon