This project is read-only.

Error: Pipe broken


SCP Server Version: SSH-2.0-OpenSSH_3.6.1p2
SCP Client Version: SSH-2.0-SharpSSH-
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.username, host.password);
                scp.Verbos = true;
                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 " +;
                Console.WriteLine("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)


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:

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

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!