How to SCP files from a PC to storage in Termux I can scp files from my Linux server to Termux directory on my Android smartphone but Termux directory is not accessible through file explorer. What exactly should be the destination path for scp so that it places the file in the storage, say in the Download directory which is accessible through the file explorer.
By design Android won't allow any other app to access Termux's data directory: /data/data/com.termux/files/home. However you can scp directly to SD card after granting WRITE_EXTERNAL_STORAGE permission.

As referenced in Termux wiki:


  It is necessary to grant storage permission for Termux on Android 6 and higher. Use 'Settings>Apps>Termux>Permissions>Storage' and set to true.


Now to copy files to Download directory:

~$ scp &lt;file_name&gt; &lt;phone_IP&gt;:/sdcard/Download/


RELATED: How to run SSH/SFTP server for multiple user logins with password authentication on Android?