Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to transfer files between two Ubuntu systems using SFTP. I have got it set-up and I can connect to the other laptop, ping it and see its file list using sftp> dir. I can see the files on the other system.

But when I call get filename.deb it comes up saying

Fetching /home/user/filename.deb to filename.deb 0% 0 0.0KB/s --:-- ETA 

and then drops back to the sftp> command promote without transferring anything. Have I missed something?

share|improve this question
When you increase logging using -v option on the initial sftp command, what is reported? (hint: cut&paste) – RedGrittyBrick Sep 13 '12 at 13:54

Unless there is a specific reason why you need sftp, ssh is much easier. It is also secure and encrypted. To install the ssh service run this command on both computers:

$sudo apt-get install ssh

You can then use secure copy to transfer the files:

user@local_machine $ scp user@remote_machine:home/user/filename.deb .
share|improve this answer

I found this trick on the Ubuntu forums: have you tried changing the mtu on your interface?

sudo ifconfig <interface> mtu 1490

Where interface is probably eth0 or wlan0.

share|improve this answer
If that does will do the trick, there's some basic network error and more applications will suffer from it. One should not have to change the MTU on his local inteface in order to make such stuff work. So basically, you're then just killing symptoms rather fixing actual problems. – gertvdijk Sep 13 '12 at 14:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .