problem with SCP

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 ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-13-2005
Pawel
 
Posts: n/a
Default problem with SCP

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
Reply With Quote
  #2 (permalink)  
Old 06-13-2005
Wiseguy
 
Posts: n/a
Default Re: problem with SCP

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 =----
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0