Information about SFTP Gateways
Users should connect to sftp.sdcc.bnl.gov in order to access the SFTP gateways and transfer files.
There are many graphical clients available, such as WinSCP and Cyberduck, that users can download and install.
SSH keys should be used to access the SFTP gateways. To facilitate SSH key forwarding, please consider using an SSH agent before initiating your SFTP connection.
GPFS and NFS home directory filesystems are available through the SFTP gateways.
For security reasons, the gateways do not allow interactive access or allow SCP transfers.
Campus SFTP gateways
There are also campus restricted SFTP gateways that users can use on campus networks.
Users should connect to cftp.sdcc.bnl.gov to access the campus SFTP gateways.
These campus SFTP nodes allow interactive access and also access to certain group accounts for file transfers within BNL networks.
Example:
sftp username@sftp.sdcc.bnl.gov:/path_to_file /local_destination
usage: sftp [-1246aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher]
[-D sftp_server_path] [-F ssh_config] [-i identity_file] [-l limit]
[-o ssh_option] [-P port] [-R num_requests] [-S program]
[-s subsystem | sftp_server] host
sftp [user@]host[:file ...]
sftp [user@]host[:dir[/]]
sftp -b batchfile [user@]host
Use "-r" to recursively copy directories.
To download a file using sftp:
sftp [user]@sftp.sdcc.bnl.gov:[/dest_path/file] [/local_path]
To upload a file using sftp:
sftp {user}@sftp.sdcc.bnl.gov:[remote_dir] <<< $'put [local_file_path]'
SSHFS
Users can also use SSHFS with the SFTP gateways. SSHFS allows a user to mount a remote filesystem using SFTP.
Example:
sshfs username@sftp.sdcc.bnl.gov:/path_to_directory /mount_point