[Ssh-sftp-perl-users] How to load my private DSA key for authentication?
Brought to you by:
dbrobins
From: Anthony L. <ant...@ya...> - 2012-02-08 21:49:05
|
Hi, I am wondering if anyone of you could give me a hint. Using Net::SSH::Perl, how do I authenticate myself through my user name and my DSA private key? $host = "my.server.com"; $user = "myusername"; $pk = "private.key"; $port = 22; $sftp = Net::SSH::Perl->new (?????); # What constructor do I use? Any hint? Thank you. If Net::SSH::Perl doesn't support public/private key authentication, what other module can I use? Any minimum working example? |