Cobra Forum

Linux => Networking & Wireless => Topic started by: kalpana on Oct 20, 2023, 04:11 AM

Title: scp, sftp and fish hang in IPv4
Post by: kalpana on Oct 20, 2023, 04:11 AM
I'm trying to copy a 200Mo file from one local machine to another and either it does not transfer anything or it transfers 64ko and hangs.
The setup:
both machine are running 22.04.3
the one getting the file is connected in wi-fi. (let's call it "desktop")
the one hosting the file is connected in ethernet (let's call it "server")

I'm not sure when it started being a problem. Both machines have the same sshd config (the default). I cannot see anything special in journalctl.

Various tests I have done:
Code:
ssh user@server cat /path-to/my-file > my-file
Code:
Sink: C0644 227681801 toto.dat
toto.dat
cp: debug2: fd 7 setting O_NONBLOCK


Code:
read(7, 0x5571d506e400, 16384) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=7, events=POLLIN}], 1, -1)    = ? ERESTART_RESTARTBLOCK (Interrupted by signal)

Any idea what it could be or what to look?