How to specify -v option in openssh in perl -


i'm using net::openssh module connect node. while connecting node, need specify -v ssh ssh -v admin@hostname. tried using master_opts , default_ssh_opts. didn't work.

my $ssh = net::openssh->new("$user_name\:$password\@$server",strict_mode => 0, default_ssh_opts => [-o => "-v"]);

how can achieved?

my $ssh = net::openssh->new($server,                             user => $user_name,                             password => $password,                             strict_mode => 0,                             master_opts => ['-v']); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -