We are using OpenSSH (portable) version 3.0.1p1 on Linux 2.2.14-10 with RedHat's distribution of PAM 0.72-20.6.x for rsync'ing RRDTool data between two machines (among other things). When running 'rsync -essh -avz', everything works fine but the system log on the sshd side shows: PAM_pwdb[8021]: authentication failure; (uid=0) -> rrd for sshd service sshd[8021]: Accepted publickey for rrd from 216.168.105.35 port 3908 ssh2 PAM_pwdb[8021]: (sshd) session opened for user rrd by (uid=0) PAM_pwdb[8021]: (sshd) session closed for user rrd Lines 2, 3 and 4 seem fine, but what's with the first line claiming there was an authentication failure? Any other information necessary can be easily providedm, but I'm not subscribed to this list so CC: me on replies. -- Michael T. Babcock CTO, FibreSpeed Ltd. (Hosting, Security, Consultation, Database, etc) http://www.fibrespeed.net/~mbabcock/
Mike-- Looking on the other side, we see: debug1: authentications that can continue: publickey,password,keyboard-interactive debug1: next auth method to try is publickey debug1: try privkey: /home/Dan/.ssh/identity debug1: try privkey: /home/Dan/.ssh/id_rsa debug1: try privkey: /home/Dan/.ssh/id_dsa debug1: next auth method to try is keyboard-interactive debug1: authentications that can continue: publickey,password,keyboard-interactive debug1: next auth method to try is password So perhaps its failing with the first key, and succeeding with the next one. Speaking of rsync, check out unison. It appears to be a userspace bidirectional rsync, done quite elegantly. Supports ssh as a transport. http://www.cis.upenn.edu/~bcpierce/unison/ --Dan www.doxpara.com
On Fri, Dec 07, 2001 at 10:08:34AM -0500, Michael T. Babcock wrote:> We are using OpenSSH (portable) version 3.0.1p1 on Linux 2.2.14-10 with > RedHat's distribution of PAM 0.72-20.6.x for rsync'ing RRDTool data > between two machines (among other things). When running 'rsync -essh > -avz', everything works fine but the system log on the sshd side shows: > > PAM_pwdb[8021]: authentication failure; (uid=0) -> rrd for sshd service > sshd[8021]: Accepted publickey for rrd from 216.168.105.35 port 3908 ssh2 > PAM_pwdb[8021]: (sshd) session opened for user rrd by (uid=0) > PAM_pwdb[8021]: (sshd) session closed for user rrd > > Lines 2, 3 and 4 seem fine, but what's with the first line claiming > there was an authentication failure? Any other information necessary > can be easily providedm, but I'm not subscribed to this list so CC: me > on replies.This looks like the usual "no password" authentication test. If it is, then it's perfectly normal. Cheers, Nalin