How to configure sftp server to access via https?
Environment
- Red Hat Enterprise Linux 6.x
- Http
- ftp
- ssh
Issue
- How to configure sftp server via https?
- SFTP server which should be accessible via https also.
- Need to configure SFTP/HTTPS website where users can upload the data through browser without using of any addition tools.
Resolution
-
Set Document root of https as
/home/user/public_html. User can login through sftp to upload data. For detail refer How do I configure a chroot SFTP for a web application -
To upload data through http, curl utility can be used. However the package 'php53-curl' is not shipped by Red Hat. For detail refer 'How to install php53-curl package ?
Diagnostic Steps
- To upload data through http, curl utility can be used. For curl configuration, refer Using curl to upload data
Note: Red Hat does not support any third party provided/suggested configuration.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
