The iddsafile should point to the private keyfile.
These are usually found in ~/.ssh/
So the identity files option should point to your local private key.
( or even better the local private key you want the script to use)
Regards
Rob
I use keys without a password, since I want the ssh script to work
unattended :P
Op do, 06-10-2005 te 09:37 -0400, schreef David M. Funk:
> Thanks Rob for the nice example!
>
> I have a working sftp Perl script now, just takes over 4 minutes to
> authenticate.
>
> I'll live with that since this will run at night when nobody cares.
>
> I have the public/private keys login setup with ssh already. I can do
> this through the command line today.
>
> Doesn't seem to work through Perl. In your example you point to a
> "iddsafile"
>
> Can you explain what this is?
>
> Is it the public key from the destination or the local private key?
>
> Kinda confused with what the identity_files option points to.
>
> Thanks,
> David M. Funk
> President/CEO
>
> Tivoli Certified Enterprise Consultant
> Specializing in Network and Systems Management Solutions
>
> Trinity Solutions
> 604 Cassandra Dr.
> Cranberry Twp., PA 16066
>
> Phone: 724-316-0721
> Fax: 724-772-7889
> email: mf...@tr...
> http://www.trinitysol.net
>
>
>
>
>
>
|