Hi,
sorry for this new (semi) OT: I'm trying to use "weighted least connection"
algorithm with LVS, I don't want to use rsh or ruptime tools, but ssh
doesn't seem to work (my lvs.cf configuration: rsh_command=ssh,
load_monitor=uptime).
I'm using openSSH 2.2.0, and I've configured it as follows:
PermitRootLogin yes
IgnoreRhosts no
RhostsRSAAuthentication yes
RSAAuthentication yes
I've added /root/.shosts file and filled it with "lvs_ip_address root" entries.
If I set "RSAAuthentication yes" ssh server cotinues asking me my RSA key
password even if I'm trying to connect from a "known" (=present in
/root/.shosts file) host, if I set "RSAAuthentication no" ssh server
replies me "permission denied".
As a result, in /var/log/messages i find a lot of messages of this kind:
Sep 26 19:19:43 lvs1 nanny[1708]: The following exited abnormally:
Sep 26 19:19:43 lvs1 nanny[1708]: running command "ssh" "172.16.0.22" "uptime"
Sep 26 19:19:43 lvs1 nanny[1708]: failed to read remote load
Where I'm going wrong?
Pietro Ravasio
P.S.: I'm running ssh server via inetd and have added right entries in
/etc/hosts.allow and hosts.deny files.
|