I see there's no discussion on the loss of being able to select files using server-side state. The SCP protocol is like the only tool that allows that (ignoring being able to use a contrived combination of ssh and tar).
For example, very often I use this to pull the latest file I produced in a server that has zsh set as the shell:
scp -T trustedserver:'*(oc[1])' .
I just pull that command from my history. For the other trusted servers that don't have zsh, I do the following (while being completely sure that the filenames I'm working with aren't directories, don't have newlines, spaces or other shenanigans):
scp -T trustedserver:'$(ls -t * | head -1)' .
If SCP protocol support is completely dropped, the only alternative I know of would be something like this:
ssh trustedserver 'tar c *(oc[1])' | tar x
ssh trustedserver 'tar c $(ls -t * | head -1)' | tar x
That wouldn't show per-file download progress bars, but oh well...
For example, very often I use this to pull the latest file I produced in a server that has zsh set as the shell:
I just pull that command from my history. For the other trusted servers that don't have zsh, I do the following (while being completely sure that the filenames I'm working with aren't directories, don't have newlines, spaces or other shenanigans): If SCP protocol support is completely dropped, the only alternative I know of would be something like this: That wouldn't show per-file download progress bars, but oh well...