RE: ssh and keys

From: John Brooks (john_at_day-light.com)
Date: 12/20/03

  • Next message: mario: "Re: ssh and keys"
    To: "'Francisco Javier Fabra Caro'" <jfabra@unizar.es>, "'Freebsd isp isp'" <freebsd-isp@freebsd.org>
    Date: Sat, 20 Dec 2003 16:18:39 -0600
    
    

    something like this should work for the backup

    /usr/local/bin/rsync -av --rsh="ssh -l username -i /path/to/key"
    host.domain.tld:/path/to/files /local/path/to/storage

    there are more options, omitted for brevity, check "man rsync"

    I have a series of these in a file, executed nitely via cron

    --
    John Brooks
    john@stlbsd.org
    -----Original Message-----
    From: owner-freebsd-isp@freebsd.org
    [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Francisco Javier
    Fabra Caro
    Sent: Saturday, December 20, 2003 3:49 PM
    To: Freebsd isp isp
    Subject: ssh and keys
    Hi guys!!
    I'm trying to backup a server over ssh, but I don't want to type the
    passphrase. I've been making the *interchange* of keys between the both
    machines, but this doesn't seem to work. I'm using a FreeBSD machine
    (updated sshd) and a RedHat 9 machine (updated sshd).
    Some ideas?
    Cheers,
       fabRiX
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: mario: "Re: ssh and keys"

    Relevant Pages

    • Re: Backup Registry - Ridiculously Difficult
      ... In this case, prior to deleting the keys - simply export them to a flat, ... I want to install MS Streets & Trips 2006 and am getting an error message ... that an MS KB article says can be resolved by deleting several registry ... Where the heck is the backup utility in XP Home? ...
      (microsoft.public.windowsxp.general)
    • Re: DriveReady SeekComplete Error DriveStatusError BadCRC
      ... Buffer I/O error on device hda1, ... I would recommend a backup as soon as you can manage. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: openoffice, FILE MISSING, ubuntu write NTFS
      ... But could you tell me where I can find this BACKUP place? ... openoffice, FILE MISSING, ubuntu write NTFS ... Modify settings or unsubscribe at: ...
      (Ubuntu)
    • Re: Back up routines
      ... THE important point-not backup but restore. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
      (Debian-User)
    • Re: Back up routines
      ... bring your important data off-site every night. ... If you have to *use* the backup, ... not be acceptable for your business. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)