This project is read-only.
1
Vote

Error: Pipe broken

description

SCP Server Version: SSH-2.0-OpenSSH_3.6.1p2
SCP Client Version: SSH-2.0-SharpSSH-3.0.0.0-JSCH-0.1.28
mkdir /vmfs/volumes/storage3/richard2
Enter directory: D0755 0 richard2
 
put from D:\MyISO\richard2.iso to /vmfs/volumes/storage3/richard2/richard2.iso
Sending file modes: C0644 1758822400 richard2.iso
 
Error: Pipe broken
System.IO.IOException: Pipe broken
at Tamir.SharpSsh.Scp.To(String localPath, String remotePath, Boolean _recursive)
at Tamir.SharpSsh.Scp.To(String localPath, String remotePath)
at Tamir.SharpSsh.Scp.Put(String fromFilePath, String toFilePath)
...
 
 
Scp scp = new Scp(host.name, host.username, host.password);
                scp.Verbos = true;
                scp.Connect(22);
                Console.WriteLine("SCP Server Version: " + scp.ServerVersion);
                Console.WriteLine("SCP Client Version: " + scp.ClientVersion);
                if (!scp.Connected)
                {
                    throw new Exception("Could not connect to scp server " + host.name);
                }
 
                Console.WriteLine("mkdir " + isoPath);
                scp.Mkdir(isoPath);
 
                Console.WriteLine("put from " + localIsoFilePath + " to " + isoFilePath);
                scp.Put(localIsoFilePath, isoFilePath);
 
richard2.iso "Size on disk" is 5.63 GB (6,053,789,696 bytes)

comments

icnocop wrote May 15, 2009 at 9:59 AM

This also comes in the form:
System.IO.IOException: Pipe closed

icnocop wrote May 15, 2009 at 10:06 PM

This also comes in the form:

ChannelSession.run

System.IO.IOException: channel is broken
at Tamir.SharpSsh.jsch.Session.write(Packet packet, Channel c, Int32 length)
at Tamir.SharpSsh.jsch.ChannelSession.run()

wrote Feb 14, 2013 at 1:17 AM

SearchForTheCode wrote Dec 13, 2013 at 9:17 AM

I have similar problems, they are rather sporadic!