[Discuss] SCP file size limitations

Scott Petersen scott at slal.net
Wed Nov 22 21:05:09 PST 2006


pw wrote:
>
> Hello,
>
> Does anyone know if there is a file size limitation for
> SCP?
>
> I have been trying to SCP a file that is 150GB
> and something causes the download to halt.
>
> The odd thing is the copy hangs **Waaaayyyy above**
> the 32/64 bit file size crossover boundary.
On HP-Ux there is an 8 Gb limit on SCP.  HP-Ux uses OpenSSH but I don't 
know if this limit is in force on other platforms.

I get around this when I need to move large Oracle data files around by 
using tar or cat and ssh

cat filename.dbf | ssh user at host "cat > filename.dbf"

tar -cvv - filespec | ssh user at host "cd directory; tar -xvv - "

Cheers
Scott Petersen




More information about the Discuss mailing list