Re: applescript shell script SCP?
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