News for hackers. Stuff that matters.
Re:Deprecating scp by bayindirh on Friday November 06, 2020 @07:32AM (#25007146)
You can disable the access in sshd_config file but, it's enabled out of the box in everything I've used so far.

Do you have any examples?

Re:Deprecating scp by sanxiyn on Friday November 06, 2020 @07:57AM (#25007264)
Many SSH servers do not run OpenSSH. For example, it may run Dropbear, which does not support SFTP.
Re:Deprecating scp by shawnz on Friday November 06, 2020 @09:12AM (#25007678)
Dropbear only supports SFTP if you provide the sftp-server binary, same as how it only supports SCP if you provide the scp binary.
Re:Deprecating scp by toyg on Friday November 06, 2020 @08:11AM (#25007335)
The OpenSSH sshd executable, in absence of a sshd_config, disables it - and rightly so, because you have to specify a server executable to manage it, which may or may not be available. It just so happens most distributions enable it by default. However, a hardened configuration could legitimately disable, to reduce attack space - it's an extra executable where things can go wrong and be exploited. There is also no requirement for non-OpenSSH implementations to have it.

To be clear, the problem is not that sftp is unlikely to be available, but that it's possible that it will be the case; hence it does not replace scp in that scenario without complete loss of functionality. It is an objectively inferior option.

Re:Deprecating scp by shawnz on Friday November 06, 2020 @09:18AM (#25007724)
It's also possible that the scp binary won't be available on the server in just the same way.