in reply to Re^3: Trouble installing Net::SFTP
in thread Trouble installing Net::SFTP

Can you pl. give me an eg of how to use public/private keys for authentication?

Replies are listed 'Best First'.
Re^5: Trouble installing Net::SFTP
by salva (Canon) on Feb 23, 2006 at 12:08 UTC
    you have to add your public key, usually ~/.ssh/id_rsa.pub, to ~/.ssh/authorized_keys on the remote machine.

    Googling, I have found this page that explains all the required steps in detail.

    If you are using the commercial version of ssh, the process is different but it is explained on the FAQ