LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-01-2003, 08:54 PM   #1
hardigunawan
Member
 
Registered: Dec 2001
Posts: 35

Rep: Reputation: 15
ssh working, but not sftp scp


Hi,

I've a very peculiar problem about scp and sftp. I can successfully ssh to my box, run commands etc. But when I scp or sftp, I can only do downloads and not uploads. When I try to do an upload, the file is created on the remote site with 0 byte, while the local "progress bar" indicates some non-zero percentage (sometimes 8%, 20%, depending on the file size) and then stallled.

Note that the above case happen when both machines are behind a NAT firewall each. When I try to do that in LAN (to the same ssh server, but different client), it works.

Now, the funny thing is, if I change the MTU size to 500 (from 1500) at the client side, there's still stalling, but nevertheless, the file is copied. At the server side, the MTU is still 1500.

Can anyone explain why this is so? I googled around for this solution, but I don't know why this helps...
 
Old 05-02-2003, 12:08 AM   #2
soothsayer
Member
 
Registered: Apr 2003
Location: Tampabay Area
Distribution: redhat 6.2-9
Posts: 33

Rep: Reputation: 15
What NAT firewall are you using? I had this problem with the last fire wall I through out my window... Kidding... It is now on my shelf.. The police officer was going to get me for littering if I didn't pick it up...
 
Old 05-02-2003, 02:04 AM   #3
hardigunawan
Member
 
Registered: Dec 2001
Posts: 35

Original Poster
Rep: Reputation: 15
The server is behind a US Robotics broadband router, while the client is behind a ipchains firewall.

The USR router is blocking ping.
 
  


Reply



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
ssh/scp without password not working Mauline Linux - Security 4 03-30-2005 09:26 PM
SCP/SFTP problem tpe Linux - Security 3 03-12-2005 06:58 PM
Concepts/Security types/ Setup: OpenSSH/sshd/ssh/scp/sftp Caud Pong Linux - Security 5 09-23-2004 06:51 AM
SSH - where are scp and sftp satimis Linux - Networking 2 11-15-2003 10:27 AM
scp vs. sftp . . . zthomasz Linux - Security 2 07-08-2003 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:16 PM.

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
Open Source Consulting | Domain Registration