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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://740151]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2024-04-25 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found