To enable SCP file transfer on an SSH server, follow these steps:
1. Log in to your SSH server with administrative privileges.
1. Open the SSH daemon configuration file. For example, on Ubuntu, the file is usually named /etc/ssh/sshd\_config.
1. Find the line that starts with “Subsystem sftp” and add the following text at the end of the line: “,scp”. The resulting line should look something like this:
Subsystem sftp /usr/lib/openssh/sftp-server,scp
1. Save the changes to the configuration file.
1. Restart the SSH daemon. On most Linux systems, you can use the following command: sudo service ssh restart
SCP file transfers should now be enabled on your SSH server. To use SCP to transfer files, you can use the scp command in your terminal or an SCP client such as WinSCP or Cyberduck.