|
Article ID: 143
Last updated: 07 Oct, 2025
You can transfer files between NAS and your local site either by running the transfer command on a PFE or LFE, or by running the command on your local system. Running the command on your local system requires you to go through a secure front end (SFE) or to set up the Secure Unattended Proxy (SUP) or SSH passthrough. Therefore, if your local system is set up to allow direct inbound connections, then starting the transfer from a PFE or LFE will be much simpler than starting the transfer from your local system. The sample command lines shown below demonstrate how to run the scp or shiftc commands on a PFE to transfer files to or from you local system. You can also apply the commands to other systems in the enclave, such as the LFEs. Notes:
Using scpTo push files out of a PFE to your local system:
To pull files into a PFE from your local system:
Using shiftcIn most cases, it is recommended to initiate remote transfers on the non-NAS side using SUP/Shift since all authentication, firewalls, and shift options have been preconfigured to work correctly. Remote transfers initiated from within NAS, however, are possible if the ssh port of the remote system is accessible and supports the publickey authentication method. The private key must either be loaded in your ssh-agent process or you must use a passphrase-less private key file with --identity set to its full path name. In addition, the file "shift-aux" (obtainable from /usr/local/bin on any pfe or lfe) must be in the default $PATH on the remote system. It is recommended to restrict the list of remote transports to rsync, fish, and shift unless you know which ports are accessible on the remote host and can specify --ports (for either fish-tcp or bbftp) and/or bbftpd is installed on the remote host (for bbftp). To push files out of a PFE to your local system:
To pull files into a PFE from your local system:
See Shift Command Options for all available options. Transfers may be monitored and stopped/restarted using normal shift methods. See Checking Shift Transfer Status and Restarting Transfers for more information. |