Kint
11-30-2000, 12:33 PM
Here's an interesting scenario, on which I need help.
I have a RedHat box in a remote location, to which I need to send updates in the form of RPM packages (packaged by our company, and that provides modifications to our software). The machine automagically dials into our network every week, and authenticates itself.
Since the RPM files I need to send to the box contain sensitive data, I want to encrpyt the whole thing. The transfer of data between my server and the remote box is done via FTP. Ideally, I'd want to use OpenSSH and the SFTP wrapper.
What I don't know is how to get RPM to correctly use SFTP instead of FTP to transfer the file(s). Since SFTP is a wrapper for FTP, I suppose there's an easy way to do this. So far, commands like rpm -Uvh sftp://my_remote_machine/some_package.rpm have failed. The devel guy for the updating system has very impressive documentation for RPM, so modifying it (if need be) is very possible.
Any clues?
------------------
Kint
I have a RedHat box in a remote location, to which I need to send updates in the form of RPM packages (packaged by our company, and that provides modifications to our software). The machine automagically dials into our network every week, and authenticates itself.
Since the RPM files I need to send to the box contain sensitive data, I want to encrpyt the whole thing. The transfer of data between my server and the remote box is done via FTP. Ideally, I'd want to use OpenSSH and the SFTP wrapper.
What I don't know is how to get RPM to correctly use SFTP instead of FTP to transfer the file(s). Since SFTP is a wrapper for FTP, I suppose there's an easy way to do this. So far, commands like rpm -Uvh sftp://my_remote_machine/some_package.rpm have failed. The devel guy for the updating system has very impressive documentation for RPM, so modifying it (if need be) is very possible.
Any clues?
------------------
Kint