LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-26-2005, 04:17 AM   #1
nIMBVS
LQ Newbie
 
Registered: Sep 2003
Location: Romania, Bacau
Distribution: Debian Stable
Posts: 27

Rep: Reputation: 15
[Solved] Can transfer only 2MB using sftp


Hello. I use Debian Stable 3.1 on one of my servers and when I try to copy a file from one computer to the server using scp, the transfer always crashes at 2MB (the scp program says only "Lost connection" and that's it). Everything on that server works fine. I have a squid proxy and a apache server and they work great.

I have this problem only on that particular server. I have other servers with Debian Stable 3.1 and they have no problem transferring files as big as I need.

Do you have any ideas? I tried to find if sftp-server makes any logs, but I didn't have any success. How can I debug such a problem?...

Last edited by nIMBVS; 11-26-2005 at 03:26 PM.
 
Old 11-26-2005, 03:26 PM   #2
nIMBVS
LQ Newbie
 
Registered: Sep 2003
Location: Romania, Bacau
Distribution: Debian Stable
Posts: 27

Original Poster
Rep: Reputation: 15
Nevermind. I solved it.

I had a configuration in /etc/security/limits.conf that limited the file size to 2M:
Code:
*              hard    fsize           2048
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
transfer freezes for 600MB zip file via sftp nocturna_gr Linux - Networking 1 11-24-2005 12:50 PM
sftp: how to transfer the whole directory? nocturna_gr Linux - General 1 11-06-2005 08:44 AM
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 09:14 PM
Poor file transfer speed with sftp six6 Fedora 3 07-29-2004 12:22 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM


All times are GMT -5. The time now is 06:50 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration