Secure File Transfer System¶
Introduction¶
Files and version management repositories are securely shared using a system at xfer.goldencode.com
. This system supports three protocols:
- secure copy (
scp
) - secure FTP (
sftp
) - rsync over ssh (
rsync
)
In order to access the latest code for the FWD project or otherwise participate in development projects with FWD, you will need an account on xfer.goldencode.com
. Your contact in the FWD project can arrange this.
File Transfer¶
For file transfer, any system with ssh
tools will be able to send or receive files.
Linux | Windows |
---|---|
In Linux systems, an ssh client is installed by default in most cases. This will include the tools scp and sftp . |
ssh is not installed on Windows by default, but many options exist. Putty, WinSCP, FileZilla are common tools. Interestingly, Microsoft now makes it possible to install OpenSSH for Windows. OpenSSH is the standard toolset that is most often installed on Linux. |
Bazaar¶
bzr
directly supports the sftp
protocol. To checkout a project, you can use an sftp URL:
bzr checkout sftp://<userid>@xfer.goldencode.com/<project_location/
Available Projects
Git¶
The standard repositories for FWD are in bzr
but most organizations use git
. If you are working on a project in which there is a shared git
repo on xfer.goldencode.com
, it can be accessed in the following manner:
rsync -avz --delete --safe-links <userid>@xfer.goldencode.com:</path/to/repo/repo_name>.git <repo_name>.git
This will create a local mirror of the repo hosted on xfer.goldencode.com
. After that, you can operate with your local repo as normal.
Key Based Authentication¶
Initially, any usage of the system will prompt you for a password, which quickly will become annoying. To set up password-less access to xfer.goldencode.com, please use the ssh-keygen tool to generate a public/private key pair, accepting all the defaults (including a blank password).
Then scp the resulting .ssh/id_rsa.pub file to xfer.goldencode.com:
scp ~/.ssh/id_rsa.pub <userid>@xfer.goldencode.com:
Notify your FWD project contact when this is uploaded, and they will finish the setup of password-less access.
© 2014-2023 Golden Code Development Corporation. ALL RIGHTS RESERVED.