Net::SCP::Expect not taking auto_yes method

Discussion in 'Perl Misc' started by John Call, Jan 29, 2004.

  1. John Call

    John Call Guest

    I am using Net::SCP::Expect for secure copy from a program. I have set
    the auto_yes method to answer any connecting questions:

    --------
    my $scpe = Net::SCP::Expect->new(auto_yes => '1');
    --------

    I've also tried the '1' outside quotes. I still get the following:

    ---------
    Are you sure you want to continue connecting (yes/no)? at
    /storage/mu/etc_defaults.pl line 500
    ---------

    Any ideas about why I would still be getting this?

    thanks,

    John
    John Call, Jan 29, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. krabhi
    Replies:
    1
    Views:
    9,291
    Marco Meschieri
    Aug 9, 2006
  2. Simon Strandgaard

    how to expect eof with expect+pty

    Simon Strandgaard, Dec 20, 2006, in forum: Ruby
    Replies:
    4
    Views:
    344
    Simon Strandgaard
    Dec 20, 2006
  3. Une Bévue
    Replies:
    0
    Views:
    378
    Une Bévue
    Jul 22, 2008
  4. Chandrashekar Tippur

    net::scp::expect error

    Chandrashekar Tippur, Dec 2, 2003, in forum: Perl Misc
    Replies:
    3
    Views:
    150
    Daniel Berger
    Dec 10, 2003
  5. Phil
    Replies:
    0
    Views:
    166
Loading...

Share This Page