in reply to SSH::W32Perl working and how to use SCP and SFTP

How come Net::SSH::W32Perl is now working for you? What has been the solution to ssh on windows and ssh not working?

I would avoid using passwords altogether, but use public key authentication (generate SSH keys, and place the public key on the server in the target account).

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re: SSH::W32Perl working and how to use SCP and SFTP

Replies are listed 'Best First'.
Re^2: SSH::W32Perl working and how to use SCP and SFTP
by Anonymous Monk on Jul 06, 2006 at 07:48 UTC
    I remove the net::ssh related modules .
    I first instlled Net::SSH::W32Perl and install remaing Net::SSH related modules
    .i run the script that's it is wroking fine
    I think modules are not installed properly
    how to use The password with in script if iam using SCP,SFTP give me small piece of code
      Nice that you give feedback on how you solved your problem, as then your experience can be helpful for other monks.

      I can't give you code, but only point out errors in your code - general errors, that is. I do not use these modules, and I don't use Windows.

      cheers,
      --shmem

      _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                    /\_¯/(q    /
      ----------------------------  \__(m.====·.(_("always off the crowd"))."·
      ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
    A reply falls below the community's threshold of quality. You may see it by logging in.