Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Server Platforms
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Server Platforms
Discussion regarding any server based ubuntu release.

 
Thread Tools Display Modes
Old March 27th, 2006   #1
Biffy
Way Too Much Ubuntu
 
Join Date: Feb 2005
Beans: 209
sftp server "connection reset by peer"

Today i tried for the first time to set up my own sftp server. This is my problem:

I am using Ubuntu breezy.

First, i installed ssh. Then i created a user.

I had a couple of friends that would aid me in testing my new sftp server. I told my first friend to download the WinSCP 3.8 beta and to install it.

Ok, so he can connect to my server, browse around and upload files. But, the problem is that after having uploaded for a while, it just stops uploading and his client kinda freezes. So, the upload just crashes. Not after a given amount of time tough, it can crash the first second and it can crash after having uploaded files for 10 mins. The error message he recieved was: "Connection reset by peer".

So i tought maybe there is something wrong with his connection, so i asked another friend. He downloaded WinSCP 3.7.6

He could do the same thing. He connected without any problem but when uploading files, it crashed just like it did for my first friend. His error message was "software Caused connection abort"

I have a D-link 604 broadband router. I have port forwarded port 22 and also opened port 22 in the firewall. My friends told me their IP-adresses but they where not in the firewall log. I dont know where my ssh logfile is.

Can someone help me? Why are the file transfers crashing after a while?
Biffy is offline   Reply With Quote
Old March 27th, 2006   #2
Biffy
Way Too Much Ubuntu
 
Join Date: Feb 2005
Beans: 209
Re: sftp server "connection reset by peer"

I've been testing some more with my friend. It seems this does not only happen on sftp, it also happens in ftp using vsftpd.

He connects and starts the upload. The speed is going very much up and down all the time. Like the transfer isnt stable at all. Sooner or later the transfer dies and my friend has to reconnect.

I've tried on my other computer as well, and the same thing happens there.
Biffy is offline   Reply With Quote
Old March 28th, 2006   #3
Biffy
Way Too Much Ubuntu
 
Join Date: Feb 2005
Beans: 209
Re: sftp server "connection reset by peer"

On my vsftpd server, the speed is very stable when people are downloading from it. When uploading, the speed varies a lot and then it just stops.
Biffy is offline   Reply With Quote
Old March 28th, 2006   #4
Avicus
5 Cups of Ubuntu
 
Join Date: Oct 2004
Location: Regina, SK. Canada.
Beans: 34
Gutsy Gibbon Testing
Re: sftp server "connection reset by peer"

I too have this same problem. I've tried vsftpd and proftpd. Same problem. No idea why.
Avicus is offline   Reply With Quote
Old September 25th, 2007   #5
purefan
5 Cups of Ubuntu
 
Join Date: Mar 2007
Beans: 32
Ubuntu 6.10 Edgy
Re: sftp server "connection reset by peer"

hasnt happened to me nor was I who found the fix but a friend was having this exact same problem with sftp connections, he used Filezilla to connect and when he used the IP it would work but if instead you entered the domain it would show the connection reset by peer error. May be worth giving it a shot
purefan is offline   Reply With Quote

Bookmarks

Thread Tools
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 On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:45 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry