Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^6: Help Required - Problem Automating SFTP

by Kraythorne (Sexton)
on Jan 30, 2009 at 12:30 UTC ( #740151=note: print w/replies, xml ) Need Help??


in reply to Re^5: Help Required - Problem Automating SFTP
in thread Help Required - Problem Automating SFTP

I can get 'plink' to connect and hang up to this point:

Offered public key
Offer of public key accepted
Authenticating with public key "rsa-key-20081029"
Access granted
Opened channel for session
Allocated pty (ospeed 38400bps, ispeed 38400bps
Started a shell/command

..and when I break out of it I get:

Sent EOF message
^C

So it looks like that works

However, when I put the same syntax into Net::SFTP::Foreign, after the shell starts, I get:

Server exited on signal "INT"
Disconnected: All channels closed

Are we getting closer?
  • Comment on Re^6: Help Required - Problem Automating SFTP

Replies are listed 'Best First'.
Re^7: Help Required - Problem Automating SFTP
by salva (Canon) on Jan 30, 2009 at 12:36 UTC
    Post here the full plink command you are using.

    Also, set...

    $Net::SFTP::Foreign::debug = -1;
    in your script, before the constructor call, and post here the output you get.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (1)
As of 2021-05-16 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (151 votes). Check out past polls.

    Notices?