Net-SFTP - Re: ssh-dss I want to use ssh-rsa

Posted on Fri Jul 6 22:42:28 2007 by shaddai in response to 5155 (See the whole thread of 2)
Re: ssh-dss I want to use ssh-rsa
Like this:

my $sftp = Net::SFTP->new($server, (user=>$user, ssh_args => [identity_files => ['/home/yourusername/.ssh/id_rsa']]));

Be sure to pass the correct path to your RSA key.
Write a response