[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Rsync





Richard Ibbotson wrote:

> When I do..
> 
> rsync -avz 192.168.1.109:/home/user  /home/user
> 
> from my Debian box everything copies over fine.  Works just great.  
> But, there's a slight pause while I'm asked for the password to the 
> SuSE box.
> 
> Is it possible to write a script that will do a backup at about 19.00 
> at night and put the password into the SuSE box from the Debian box 
> so that the whole thing takes place whilst I'm working on something 
> else ?  Might need to use SSH for some of this ?  Although, it is an 
> internal and isolated network apart from ocassional dialup sessions.
> 

I suggest using the -e option with ssh, which means setting up ssh so 
that it logs in automatically, i,e, copy your public key to where ever 
your sshing to. For this to work without using ssh-agent you will have 
to chose an empty passphrase for your key


dave.


> 

-- 
Dr. David Holden. (Systems Developer)
check-out : crystallography journals online <http://journals.iucr.org>

Thanks in advance:-
Please avoid sending me Word or PowerPoint attachments.
See: <http://www.fsf.org/philosophy/no-word-attachments.html>

Personal Links:-
Recommended reading : http://www.oreilly.com/catalog/dbnationtp/
UK Privacy (R.I.P)  : http://www.stand.org.uk/commentary.php3
Public GPG key available on request.

-- 99% of politicians give the rest a bad name --
-------------------------------------------------

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.