scp the command isn't deprecated, but the SCP protocol is. The command internally uses the SFTP protocol (with OpenSSH 9+)
ref: OpenSSH SCP deprecation in RHEL 9: What you need to know
scp the command isn't deprecated, but the SCP protocol is. The command internally uses the SFTP protocol (with OpenSSH 9+)
ref: OpenSSH SCP deprecation in RHEL 9: What you need to know