[10:04] <Iolo> Hiya, I have a bit of a problem with getting an old DOS machine (yes, really) to download files via SCP from an Ubuntu 20.04 server.
[10:04] <Iolo> The basic idea is that the DOS machine needs to connect via SCP and download all the files that are in a certain directory.
[10:04] <Iolo> The client does connect, but it only downloads *one* file before disconnecting.
[10:05] <Iolo> The crazy thing is that this works fine when the server is a RHEL 7 server with OpenSSH 7.4, but I'm trying to migrate this over to an Ubuntu 20.04 server with OpenSSH 8.2.
[10:05] <Iolo> Without touching any of the client's settings, I can use a domain alias to choose which server the client is connecting to. So IOW the behavior is different with the same client settings.
[10:06] <Iolo> Because of that I'm pretty convinced there's a problem on the server side. I just can't figure out what that problem is.
[10:06] <Iolo> The sshd configuration on both servers is practically identical, with the exception of re-enabling some older algos on the newer server.
[10:06] <Iolo> Setting LogLevel to debug3 didn't yield anything useful either. What should I look into next?
[11:23] <rbasak> Iolo: perhaps try Ubuntu 16.04 to try to identify if the difference is a result of the OpenSSH version, or of the distro?
[11:24] <rbasak> Versions:
[11:24] <rbasak>  openssh | 1:7.2p2-4           | xenial          | source
[11:24] <rbasak>  openssh | 1:7.6p1-4           | bionic          | source
[11:25] <rbasak> There was quite a bit of churn in OpenSSH upstream behaviour relating to scp, to do with deprecation of the scp protocol and the move to the scp command using sftp instead. I don't see a specific issue across the versions you're looking at, though it's probably worth looking deeper for one.
[12:50] <Iolo> rbasak, that's a good tip, thanks. I'll try that next.