This is a discussion on problem with SCP within the Linux Administration forums, part of the Linux Forums category; Hello, I have a problem with file transferring with SCP. When I try to copy a file from my Windows ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I have a problem with file transferring with SCP. When I try to copy a file from my Windows XP machine to remote Mandrake 10.1 server the file copies only partly - only 4096 bytes are copied and then it says 'connection reset by peer'. When I copy files smaller than 4096b everything is ok. When I try to transfer files from remote server to my computer it is ok too. Why is that so? I would be grateful for any help, Thanks, Pawel |
|
|||
|
Pawel <goghi@poczta.fm> scribbled on the stall wall:
> Hello, > > I have a problem with file transferring with SCP. When I try to copy a > file from my Windows XP machine to remote Mandrake 10.1 server the file > copies only partly - only 4096 bytes are copied and then it says > 'connection reset by peer'. When I copy files smaller than 4096b > everything is ok. When I try to transfer files from remote server to my > computer it is ok too. Why is that so? what happens when you do an ssh stdin->stdout copy? cat file | ssh othermachine -c "cat > destination" or ssh othermachine -c "cat thefile" > localfile some additional flags may be needed so use at your own risk. -- dual 2.8Ghz Xeon; 2GB RAM; 500GB ATA-133; nVidia powered Linux 2.6.10; glibc-2.3.5; vendor neutral home-brewed installation ----anything after this line is ANNOYING CRAP that the newsserver adds----- ---directly contact newsfeeds and ISPs that piggy back them to complain---- ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- |