FAQ: scp etc.
🆀 I don't know how to transfer files stored on my personal laptop.
🅐 To scp using PowerShell in Windows, follow these steps.
- first, launch PowerShell. Then, PowerShell will start with your home directory of your Windows account as the current directory by default. 'user' is your username. In this state, run the following command to confirm that the SSH private key is located at the path below. In this case, the SSH private key is the id_rsa file.
PS C:\Users\user> ls .ssh
Directory: C:\Users\user\.ssh
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2023/11/28 16:18 160 config
-a---- 2022/11/01 16:33 1766 id_rsa
-a---- 2024/01/22 12:44 4885 known_hosts
-a---- 2024/01/22 12:41 5453 known_hosts.old
- In this state, to transfer the your_file.txt file from your personal computer to the NIG supercomputer using the scp command, execute the following command in PowerShell. 'useraccount' is your account name of the NIG supercomputer.
PS C:\Users\user> scp .\Downloads\your_file.txt
youraccount@gw.ddbj.nig.ac.jp:/home/youraccount
🆀 How can I transfer files to/from the NIG supercomputer using WinScp or FileZilla?
🅐 The NIG supercomputer website describes the procedure for transferring files using the scp and sftp commands.
If you want to use third-party software (e.g. WinScp or FileZilla), refer to the manual of each software after referring to the Data file transfer (The general analysis division) page.