As the title says. Download the data on the Linux server in the cloud to your local PC.
-Tera Term is installed on the local PC
SSH SCP Functions in Tera Term. After logging in to the server with SSH, you can copy files by entering the copy source and copy destination paths.
This is omitted. Log in with each method.
Select "SSH SCP" from "File" Enter the upper row for local ⇒ server, and the lower row for server ⇒ local. This time the latter.
Describe the path of the file you want to copy on the Linux server in "From". Describe the path of the local PC where you want to put the copied file in "To".
Press "Send" and check if the file is copied to the path of the local PC specified by "To".
Sometimes it fails with the error "Permission denied" due to the owner or permission of the file you want to copy via SSH. (I failed to write this article.)
Even if you switch to the "root" user and then receive the file, it seems that you can only receive the file with the authority of the user who logged in first. ↓ https://www.j-oosk.com/teraterm/file-transfer/143/
If you can log in as root from the beginning, that's okay.
The solution was to copy the file on the server and change the owner of the copied file.
sudo su - cp [Path of the file you want to copy] [Directory path of the copy destination]
'chown [User who wants to be the owner] [Path of the file whose owner you want to change]
After doing this, you should be able to copy at the beginning of this article.