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