• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: rsync do shell script password..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rsync do shell script password..


  • Subject: Re: rsync do shell script password..
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 13 Sep 2007 07:12:22 -0400

The usual approach here would probably be to set up an SSH keypair and
install the "keychain" program (not Apple's KeyChain) to keep the key
active for non-interactive shells.  But that's a lot of setup work.

If rsync is actually using rsh instead of ssh, you could set up a
.rhosts file on the remote system to allow connections without a
password, but that's generally a really bad idea securitywise.

So yeah, I'd use expect to script the interactive interaction with rsync.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: rsync do shell script password..
      • From: Wayne Melrose <email@hidden>
References: 
 >rsync do shell script password.. (From: Wayne Melrose <email@hidden>)
 >Re: rsync do shell script password.. (From: Axel Luttgens <email@hidden>)
 >Re: rsync do shell script password.. (From: Wayne Melrose <email@hidden>)
 >Re: rsync do shell script password.. (From: Simon Forster <email@hidden>)
 >Re: rsync do shell script password.. (From: Wayne Melrose <email@hidden>)
 >Re: rsync do shell script password.. (From: Simon Forster <email@hidden>)

  • Prev by Date: Re: Alias Files
  • Next by Date: Re: rsync do shell script password..
  • Previous by thread: Re: rsync do shell script password..
  • Next by thread: Re: rsync do shell script password..
  • Index(es):
    • Date
    • Thread