Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Net::SFTP::Foreign and Using Passphrases on Private Keys

by swamprich (Novice)
on Apr 27, 2012 at 14:12 UTC ( [id://967642]=note: print w/replies, xml ) Need Help??


in reply to Re: Net::SFTP::Foreign and Using Passphrases on Private Keys
in thread Net::SFTP::Foreign and Using Passphrases on Private Keys

thanks for the quick response, but that Net-SSH2 package is different than the backend package I'm utilizing via Net::SFTP::Foreign. The package I'm using is here Net::SFTP::Foreign::Backend::Net_SSH2

You're correct in that it was a typo, sorry about that. And if I was using the Net_SSH2 package, it would be $password instead of $passphrase. I've attempted to use the Net_SSH2 package before but it doesn't really work on Windows (getpwuid errors) and I need to make sure this code is cross platform.

Replies are listed 'Best First'.
Re^3: Net::SFTP::Foreign and Using Passphrases on Private Keys
by mlebel (Hermit) on Apr 27, 2012 at 14:55 UTC
Re^3: Net::SFTP::Foreign and Using Passphrases on Private Keys
by syphilis (Archbishop) on Apr 28, 2012 at 14:24 UTC
    that Net-SSH2 package is different than the backend package I'm utilizing via Net::SFTP::Foreign

    No - Net-SSH2 is the backend package that Net::SFTP::Foreign::Backend::Net_SSH2 uses.

    but it doesn't really work on Windows (getpwuid errors)

    Actually, Net-SSH2 now works pretty well on Windows. That 'getpwuid' problem was fixed long ago.

    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://967642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-19 03:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found