Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleDUO Dual Facter

Duo dual factor authentication is required for SFTP and SCP to work. Ensure that you have a default request method for duo to authenticate.


Note
titleNon-interactive shell output

Your client software will first try to establish a non-interactive session on the server. It will fail with an error if the non-interactive portion of your shell's startup prints anything. For the common case of bash, your ~/.bashrc configures non-interactive sessions, so make sure it contains no modifications which cause output. It's safe to place such modifications in ~/.bash_profile which only configures interactive logins.

SCP
Panel
titleCopy file from local to the HPC system (note alternate port specification)

[user@local ~]$ scp -P 40 file1 hawkid@argon.hpc.uiowa.edu:file1

...

Panel
titleCopy directory from local to HPC system
[user@local~]$ sftp hawkid@argon.hpc.uiowa.edu
Connecting to argon.hpc.uiowa.edu...
sftp> mkdir remote
sftp> put local/* remote/
Uploading local/file1
Uploading local/file2
Uploading local/file3
 

sftp> ls remote/
remote/file1
remote/file2
remote/file3 


Info

This process is more involved in that one must create the directory remotely first and then transfer the contents from one to the other – wildcards are helpful for this.


...