I've been using Net::SSH::Perl for a while, and it works great. But lately I've playing with public and private keys. This works great, except for one thing; I need a process to automatically copied over the authorized_keys2 to the remote server. I was thinking of scp, however I need to provide the passwd everyting I want to copy the authorized_keys2 to the remote server. Does any one have any idea, that is similar to Net::SSH::Perl. For now, I think I am going to use Expect. Thanks.