On March 6, 2016 08:19:35 PM Alex Pilon wrote:
> On Sun, Mar 06, 2016 at 05:24:53PM -0500, Bruce wrote:
> > I'm having trouble with the ssh login.
> >
> > debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"
>
> Don't expect `ssh -vvv` to tell you everything. For security reasons,
> the SSH daemon *won't* tell you many of the issues you may have.
>
> Have you checked the SSH daemon logs? You have a good chance of finding
> your answer there. `ssh -vvv` is usually more for SSH *protocol*
> debugging.
>
> Regards,
>
> Alex Pilon
Thanks for the suggestion. I found the problem and I'm now able to login into
either computer with ssh.
I now have a new error when running Rsnapshot.
# rsnapshot -VD alpha
require Lchown
Lchown module loaded successfully
Setting locale to POSIX "C"
echo 3395 > /var/run/rsnapshot.pid
/bin/rm -rf /backups/rsync-bbox/.snapshots/alpha.5/
mv /backups/rsync-bbox/.snapshots/alpha.4/ \
/backups/rsync-bbox/.snapshots/alpha.5/
mv /backups/rsync-bbox/.snapshots/alpha.3/ \
/backups/rsync-bbox/.snapshots/alpha.4/
mv /backups/rsync-bbox/.snapshots/alpha.2/ \
/backups/rsync-bbox/.snapshots/alpha.3/
mv /backups/rsync-bbox/.snapshots/alpha.1/ \
/backups/rsync-bbox/.snapshots/alpha.2/
/bin/cp -al /backups/rsync-bbox/.snapshots/alpha.0 \
/backups/rsync-bbox/.snapshots/alpha.1
/usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
--include=/home/bruce2/ --rsh=/usr/bin/ssh -l root@192.168.1.129:/ \
/backups/rsync-bbox/.snapshots/alpha.0/root@192.168.1.147:/
ssh: Could not resolve hostname root: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2]
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot -VD alpha
----------------------------------------------------------------------------
ERROR: /usr/bin/rsync returned 0.99609375 while processing
root@192.168.1.129:/
/usr/bin/logger -p user.err -t rsnapshot[3395] /usr/bin/rsnapshot -VD \
alpha: ERROR: /usr/bin/rsync returned 0.99609375 while processing \
root@192.168.1.129:/
touch /backups/rsync-bbox/.snapshots/alpha.0/
rm -f /var/run/rsnapshot.pid
/usr/bin/logger -p user.err -t rsnapshot[3395] /usr/bin/rsnapshot -VD \
alpha: ERROR: /usr/bin/rsnapshot -VD alpha: completed, but with some \
errors
What I don't understand is why ssh work on it's own, but will not work within
rsnapshot. Any ideas?
====
Bruce