thanks for help. I have this result

# open_ex: 'ssh','-V' # io3 mloop, cin: 0, cout: 1, cerr: 0 # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 60 at offset 0 #> 4f 70 65 6e 53 53 48 5f 37 2e 36 70 31 20 55 62 75 6e 74 75 2d 34 75 62 75 6e 74 75 30 2e 33 2c | OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, #> 20 4f 70 65 6e 53 53 4c 20 31 2e 30 2e 32 6e 20 20 37 20 44 65 63 20 32 30 31 37 0a | OpenSSL 1.0.2n 7 Dec 2017. # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 0 at offset 60 # leaving _io3() # waiting for slave, timeout: 10, remaining: 10, sleep: 1 # _waitpid(3335) => pid: 3335, rc: 0, err: Interrupted system call # OpenSSH version is 7.6p1 # ctl_path: /home/alexandre/.libnet-openssh-perl/94db24a6e865065afdff63da68dff381, ctl_dir: /home/alexandre/.libnet-openssh-perl/ # _is_secure_path(dir: /home/alexandre/.libnet-openssh-perl, file mode: 16832, file uid: 1000, euid: 1000 # _is_secure_path(dir: /home/alexandre, file mode: 16877, file uid: 1000, euid: 1000 # set_error(0 - 0) # call args: 'ssh','vvv','-o','ServerAliveInterval=30','-o','ControlPersist=no','-2MNx','-o','NumberOfPasswordPrompts=1','-o','PreferredAuthentications=keyboard-interactive,password','-S','/home/alexandre/.libnet-openssh-perl/94db24a6e865065afdff63da68dff381','-l','admin','-p','22','192.168.109.10','--' # master state jumping from _STATE_START to _STATE_LOGIN # file object not yet found at /home/alexandre/.libnet-openssh-perl/94db24a6e865065afdff63da68dff381, state:_STATE_LOGIN # file object not yet found at /home/alexandre/.libnet-openssh-perl/94db24a6e865065afdff63da68dff381, state:_STATE_LOGIN ssh: Could not resolve hostname vvv: Name or service not known # file object not yet found at /home/alexandre/.libnet-openssh-perl/94db24a6e865065afdff63da68dff381, state:_STATE_LOGIN # set_error(1 - unable to establish master SSH connection: bad password or master process exited unexpectedly) # master state jumping from _STATE_LOGIN to _STATE_GONE Couldn't establish SSH connection: unable to establish master SSH connection: bad password or master process exited unexpectedly at perl.pl line 17. # DESTROY(Net::OpenSSH=HASH(0x166e3a4), pid: <undef>)


In reply to Re^2: Net::OpenSSH pass command by touriste75
in thread Net::OpenSSH pass command by touriste75

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.