Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: Net::OpenSSH fails with CyberArk

by salva (Canon)
on Jun 24, 2022 at 07:10 UTC ( #11145014=note: print w/replies, xml ) Need Help??

in reply to Re^2: Net::OpenSSH fails with CyberArk
in thread Net::OpenSSH fails with CyberArk

In order to avoid the incorrect parsing of the target argument you can call Net::OpenSSH (unmodified) constructor as follows:
$ssh = Net::OpenSSH->new('', user => '', ...)

Regarding the capture issue, well, you would have to show us the complete script and debugging output, otherwise it is impossible to know what is going on.

Also, I don't know how CyberArk does its magic. Maybe it sets a wrapper for the real OpenSSH ssh command, and that may interfere with some of the more advanced usages of the command as the ones required by Net::OpenSSH.

Replies are listed 'Best First'.
Re^4: Net::OpenSSH fails with CyberArk
by jhuijsing (Acolyte) on Jun 25, 2022 at 07:06 UTC
    Thanks Salva That's fixed my problem Capture works correctly now

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-10-02 06:50 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (7 votes). Check out past polls.