SCP syntax

John Heim jheim at math.wisc.edu
Thu May 4 09:41:09 EDT 2006


I wasn't sure if the original question was about scp or cron. But since 
you're talking about scp, I'll go with that...

I don't know if scp is the right tool for doing backups.  It might be 
better to use rsync. Here is a link to an article I stumbled upon while 
googling last weekend:
http://www.mikerubel.org/computers/rsync_snapshots/

Anyway, with scp, you would want to generate a key  w/o a passphrase so you 
can connect non-interactively. Googling for "tutorial OR howto ssh-keygen" 
yeilded this link:
http://www.cs.umd.edu/~arun/misc/ssh.html

That looks like a good, brief tutorial on using ssh.  Note that you don't 
want to use a passphrase. Otherwise, it will ask for that in batch mode.




At 06:39 AM 5/4/2006, Georgina Joyce wrote:
>Hi
>
>I'd tried scp for that job but I'm not sure if that's the right tool for 
>the job but the man page suggests that the -B switch is for batch mode.
>
>Maybe if you used:
>
>man scp
>
>manrcp
>
>You could choose which would suit your situation.
>
>HTH
>
>Gena
>
>On Thu, May 04, 2006 at 10:59:55AM +0100, Chris Norman wrote:
> > Hi people,
> > I'd like to be able to backup my stuff securely with cron using scp.
> >
> > I've looked at the manual but I'm having a job,
> >
> > How's it used please?
> >
> > Chris Norman
> > <!-- chris.norman4 at ntlworld.com -->
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>---end quoted text---
>
>--
>2E0AXU
>
>Freedom & Power provided by debian GNU Linux
>
>_______________________________________________
>Speakup mailing list
>Speakup at braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup





More information about the Speakup mailing list