sftp-cloudfs is a SFTP (Secure File Transfer Protocol) interface to Rackspace Cloud Files and OpenStack Object Storage, providing a service that acts as a proxy between a SFTP client and a remote files/storage service.
The username/password pair used to open the SFTP session is validated using the authentication service of the files/storage service to get an authentication token.
The communication between the client and the SFTP daemon is encrypted all the time, and the SFTP service supports HTTPS communication with the remote files/storage service.
To install the software, run following command:
python setup.py install
You may need to create a host key with ssh-keygen.
Once installed you can run the service with sftpcloudfs executable, that supports following options:
--version show program's version number and exit
-h, --help show this help message and exit
-a AUTHURL, --auth-url=AUTHURL
-k HOST_KEY, --host-key-file=HOST_KEY
Host RSA key used by the server
-b BIND_ADDRESS, --bind-address=BIND_ADDRESS
Address to bind (default: 127.0.0.1)
-p PORT, --port=PORT
Port to bind (default: 8022)
-l LOG_FILE, --log-file=LOG_FILE
Log into provided file
Run in the foreground (don't detach from terminal)
--syslog Enable logging to system logger (daemon facility)
-v, --verbose Show detailed information on logging
Pid file location when in daemon mode
--uid=UID UID to drop the privileges to when in daemon mode
--gid=GID GID to drop the privileges to when in daemon mode
Use an alternative configuration file
The default location for the configuration file is /etc/sftpcloudfs.conf.