LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-08-2003, 10:20 PM   #1
XStorm
Member
 
Registered: Nov 2003
Distribution: Slack 10.0 / 2.6.8.1
Posts: 63

Rep: Reputation: 15
Console hanging and scp transfer low when using ssh


Hi,
I have the following problem(s).
I use my machine (Slack 9.1) to log into another machine (also running Slack 9.1) via ssh.
So I type something like ssh -lusername localmachine.hostname.com and get logged in.
When I am logged in, if I am editing a command of a file (pico textfile) the console oftenly hangs.
Ctrl+c doesn't work. I suppose this issue is liked to the following problem.
When i am logged into ssh, provided the console is still working, I try to transfer a file via scp.
scp username@username.com:/filename /home/username/
Transferring works, but at 30k/s and after a few secons it gets to 0.8 k/s until it stops, and this happens although between my machine and the machine I log into there is a 5mb/s bandwidth (!!!).
I suppose this has something to do with ssh, and so does the console hanging maybe. Please tell me anything you might consider usefull.
 
Old 12-08-2003, 10:34 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
The transfer doesn't actually slow down; it is ssh's way of calculating the average transfer speed that creates the illusion. The transfer most probably stops as a whole.

I had similar problem few months ago; my reason was a broken network cable, that was strained too much from junction under the door.

Also changing the /proc/sys/net/ipv4/tcp_ecn to 0 or 1 might do something.
 
  


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
cannot transfer (FTP) 10GB file, also scp dont work freebies Linux - Software 2 02-25-2005 01:38 AM
Slow scp & wget transfer rate in Fedora Cora 64 joey52 Linux - Networking 17 12-27-2004 02:01 PM
scp bandwith too low ! Fernando534 Linux - Software 3 06-16-2004 10:08 PM
synaptic hanging on low resourced machine Crasherz Linux - Software 2 12-24-2003 06:40 PM
Data transfer from one Linux machine to another with FTP or scp faucon Linux - Newbie 6 09-10-2003 02:37 PM


All times are GMT -5. The time now is 12:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration