Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
SSH1 and SSH2 Keys Auth

SSH1 and SSH2 Keys Auth

2003-06-10       - By System

 Back
Reply:     1     2     3     4     5     6     7  

> > Hello,
> >
> > I have a Script which uses Rsync with SSH Authentication to copy files
> > from one server to another. It is a cronjob which executes every hour.
> > The servers uses the DSA public Keys to Authenticate each other. So No
> > passwd is asked while the cronjob is executed.
> >
> > Suddenly from couple of hours it started asking for the passwd from the
> > cronjob and hence cannot rsync.
>
> Can you go back through your logs to see if there were any incidents of
> any note in the hour before the first fubar? Check messages, last and
> secure.

I have checked the lastlog, secure,messages, All logs exceprt the secure
says that somebody tried to FTP as root which was cancelled and nothing
else.

> > I am not looking for the solution from this list but could anyone
> > suggest me where should i look what could be wrong. I checked from the
> > prompt to connect to the same server but even then it asks for passwd.
>
> This is a good question from you Tina. Perfectr for this list. If you
> don't mind riding it out with us, we just might get you through it and
> learn a thing or 2 ourselves in the meantime.
>
> What concerns me here is that it was working and then suddenly went south.
> You didn't do any changes to the systems at all, including running up2date
> or adding/deleting users?
No i didn't Change I just upgarded SSH1 to SSH2 a week before and then also
it was working fine.
>
> > I did a search in Google but it tell me how to setup the Auth.
>
> Thank you. Troubleshooting is much easier if you've done some homework.
> You're problem isn't in rsync, it's in sshd and the auth keys, which
> you've identified. What happens if you set the keys and auth to RSA? If
> this works, we've narrowed it down to the ssh daemon.
>
> I had a similar issue once, where I set  a new set of keys and just cut
> and pasted them into the server. The problem was that the newline breaks
> on the console were also pasted, breaking the keys. The fix was to delete
> the newline breaks, and !whammo! I was back in business.
Even I thought of the same and I found newline breaks in my script and i
cleared them all but still it asks for the passwd.

Regards,
Tina.