Hi,
I have two Linux PCs, one running RH 6.1, the other RH 7.
I installed ssh (OpenSSH_2.2.0p1 on the RH6.1 machine,
2.3.0p1 on the RH7).
I would like to mount a disk of the RH7 machine
via NFS on the RH6.1 machine.
Furthermore I would like to log in on the RH7
machine from the RH6.1 machine via ssh.
Both the NFS-mounting and the ssh-login work,
BUT only for about 20 minutes(!).
After about 20 minutes, the NFS connection is
lost and an attempt to remount gives the an error
message:
mount: RPC: Port mapper failure - RPC: Unable to receive
At the same time the ssh connection breaks down
an an attempt to log in again gives the message
Secure connection to ... refused.
("..." being the name of the RH7 machine)
If I restart portmap, NFS and sshd on the RH7 machine,
the NFS mounting works again. THen I try to log in via
ssh and get the error message
Secure connection to ... refused.
again. WHen I then check with "df" if the NFS-mounted
disk is still available, I see that it is not and remounting
it is again impossible.
In other words, there seems to be a strange interconnection
between NFS and ssh which renders the whole system useless.
Is there some kind of black list that sshd keeps? I mean
if one connection from computer A to B fails that all
connections are shut down for all users? The NFS-mounting
is done by user root, but the ssh-login by a normal user.
Or am I maybe the victim of a hacker attack?
Please help!
Regards,
Dirk