Subject: | failure on $sftp->stat using openssh for initial connection |
Hi,
I'm opening my connection using Net::OpenSSH and then connecting to
sftp via $sftp = $ssh->sftp();
This works fine now.
The problem is when I do $sftp->stat, the connection is lost.
the SFTP code is a little thick, but from what I can determine, the
failure is happening as a result of calling syswrite inside _do_io_unix
it's returning undef.
From Dumper, I can tell the glob it's writing to is this:
'ssh_out' => \*{'Net::OpenSSH::$w'}
Any advice on how I can further debug this problem?
Thanks,