Help: Auto login FTP modules

A

Amy Lee

Hello,

Is there any FTP auto-login function in Perl modules?

Thanks.

Regards,

Amy Lee
 
R

Ron Bergin

J

Josef Moellers

Ron said:
I assume you mean that you're wanting to avoid including your username/
password in the script. That is accomplished by using ssh keys.
You'll want to look at Net::SFTP or Net::SSH2::SFTP or Net::SCP

http://search.cpan.org/~dbrobins/Net-SFTP-0.10/lib/Net/SFTP.pm
http://search.cpan.org/~dbrobins/Net-SSH2-0.18/lib/Net/SSH2/SFTP.pm
http://search.cpan.org/~ivan/Net-SCP-0.08/SCP.pm

Another possibility would be to have some private configuration file
that contains user name and password and is only readable for the user,
e.g. like "mutt" does it. This does not, however, protect against root
access or people stealing your hard disk.
For sensitive information, I use a memory stick that I plug in only if
needed. Be aware that it may still leave traces, e.g. on the swap device.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top