• 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: applescript shell script SCP?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript shell script SCP?


  • Subject: Re: applescript shell script SCP?
  • From: Paul Scott <email@hidden>
  • Date: Mon, 08 Dec 2008 20:23:33 -0800

Mark J. Reed wrote:
1. You can set up ssh (and therefore, scp and sftp) to allow access without a password, by creating a public/private keypair, adding the public half to the "authorized_keys" file on the remote system, and enabling the private half in ssh-agent on the local system.
When you generate the key pair, the private key is encrypted. If you try to use it with scp you'll be prompted for the private key password, which brings you back to the original problem of avoiding a password.

The solution is to decrypt the private key. Of course, you need to keep it safe because once decrypted anyone with access to the private password can access the remote system; no passwords necessary. Make sure you use proper file permissions and practice safe computing.

Paul

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

 _______________________________________________
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: applescript shell script SCP?
      • From: "Mark J. Reed" <email@hidden>
References: 
 >applescript shell script SCP? (From: "Mr. Dan Pouliot" <email@hidden>)
 >Re: applescript shell script SCP? (From: "Mark J. Reed" <email@hidden>)
 >Re: applescript shell script SCP? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: applescript shell script SCP?
  • Next by Date: Re: applescript shell script SCP?
  • Previous by thread: Re: applescript shell script SCP?
  • Next by thread: Re: applescript shell script SCP?
  • Index(es):
    • Date
    • Thread