On 8/16/07, kilaru rajeev <[EMAIL PROTECTED]> wrote: snip > > Another common problem is that different versions of Unix (and Linux) > > use different implementations of ssh. This isn't a problem for most > > things, but they tend to use different formats for the private and > > public key files. You may have to convert the key generated on one > > platform to the format expected by another. snip > I had generated the Key pair. I installed the public key on the server. And, > while generating the keys I had not passed any passphrase. That is why, it > is not asking for the password/passphrase while connecting. I guess we need > to provide the configuration details in our program while connecting to the > server. snip
If you did not provide a passphrase then the key is unencrypted. Depending on what you want to do, this is a good thing. It is common for program accounts (as opposed to user accounts) to have unencrypted keys since it removes the complications of have to use ssh-agent. However, your response did not answer the primary question: can you connect to the other box from the command line without typing a password? If you can and Perl is having a problem doing the same then there is something wrong with the installation of Net::SCP, if you can't then the problem is most likely incompatible key types (since you have ruled out encrypted keys as a problem). -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/