LinuxQuestions.org
Help answer threads with 0 replies.
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
  Search this Thread
Old 11-26-2005, 05:17 AM   #1
nIMBVS
LQ Newbie
 
Registered: Sep 2003
Location: Romania
Distribution: Linux Mint
Posts: 29

Rep: Reputation: 21
[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 04:26 PM.
 
Old 11-26-2005, 04:26 PM   #2
nIMBVS
LQ Newbie
 
Registered: Sep 2003
Location: Romania
Distribution: Linux Mint
Posts: 29

Original Poster
Rep: Reputation: 21
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration