Windows
1. using SFTP session in MobaXterm and specify the following information.
Remote host: lanta.nstda.or.th
Username: [your LANTA username]
2. Enter your LANTA password
3. Enter your two-factor authentication code
4. The SFTP will be started. You can drag and drop file/directory to transfer file/directory between your local PC and LANTA. You also can change the location on LANTA by specify path at the to of LANTA window (squared in red).
macOS/Linux
using scp
command and enter your password then you two-factor authentication code. Note that add -r
option to transfer directory.
scp [source] [destination]
For example
localuser@localmachine:~/test$ scp localfile.dat hpcuser@lanta.nstda.or.th:/home/hpcuser (hpcuser@lanta.nstda.or.th) Password: [enter your LANTA password] (hpcuser@lanta.nstda.or.th) Verification code: [enter your 2FA code]
or
localuser@localmachine:~/test$ scp -r local-directory hpcuser@lanta.nstda.or.th:/home/hpcuser (hpcuser@lanta.nstda.or.th) Password: [enter your LANTA password] (hpcuser@lanta.nstda.or.th) Verification code: [enter your 2FA code]