[Ssh-sftp-perl-users] SOLVED: Re: NET::SFTP problem with RSA key
Brought to you by:
dbrobins
From: Alessandro De M. <ale...@tr...> - 2007-06-05 13:28:26
|
Hi all, I have solved the problem reading from the psftp source code. Thanks Alex p.s. it now looks like this: my $sftp = Net::SFTP->new($sftp_server, ssh_args => [options => [ "IdentityFile ~/.ssh/id_rsa" , ]]); On Tue, 2007-06-05 at 13:29 +0100, Alessandro De Maria wrote: > Hi all, > > I beg your help for a problem I have trying to use the Net::SFTP module. > I'm trying to create a script that will move files using an sftp > connection. > > I will have to use just the publickey authentication. > > I have written a little script just to connect and make sure I can > simply put a file there, just as a test, but even if the "password" > authentication works, I can't have the publickey to get into action. > > Regards > Alex > > > > |