It looks like I hang on the fact, that the script asks to accept the fingerprint, but I am not able to answer "yes" on my tty.

perl ./scripts/av_ssh_01.pl Name "main::LOG4PERLCONF" used only once: possible typo at ./scripts/a +v_ssh_01.pl line 210. alle optionen: libssh2_knownhost_init(ss->session) -> 0x55c49814aa50 The authenticity of host 'f42240ts' can't be established. Key fingerprint is SHA1:d252c44ef170f176ef2aeb96f059178f52144535. Are you sure you want to continue connecting (yes/no)? Use of uninitialized value $yes in pattern match (m//) at /home/fxuser +2/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Net/SSH2.pm line 417. Net::SSH2::KnownHosts::DESTROY Host key verification failed: user did not accept the key (-46 LIBSSH2 +_ERROR_KNOWN_HOSTS) at ./scripts/av_ssh_01.pl line 161. Net::SSH2::DESTROY object 0x964c3580

Any hint how I can make the script wait for an answer to type in?

Regards Kallewirsch

In reply to Re^10: Net::SSH2 not base64 encoded by averlon
in thread Net::SSH2 not base64 encoded by averlon

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.